BlacKnyght
|
I'm sitting here at my computer watching Chrono, Marle, and Lucca walk around on a little island. And I'm having troubles and I'm trying to figure out what I'm doing.
First, should I post stuff like this in the help forum? This will stay here for now, but I'll go over there next time.
The entities are set on wander, but they don't pause at all, even though I have them set to pause. They keep walking without stopping.
I have an event coded, but I can't make Marle say it. here it is.
event //2, Trying to talk to Marle
{
if (Random(2) = 0)
{
TextBox("Marle: Hi Chrono!","","");
}
else
{
TextBox("Marle: Chrono, where have you been?","","");
}
}
Marl'e Activation is set to '2'. My dialog box comes up for my zone events, but not for talking to people. Any clue what I'm doing wrong?
Posted on 2000-12-28 15:44:09
|
BlacKnyght
|
I have even tried setting the entities act to the other events, in this case, the ones being the ones from the 'newbie guide.' Those, however, just don't seem to work. I can make the actions work fine using the zone, I just can't get them to display.
I will walk up to an entity, hit enter, and they will turn and face me for only a brief moment, and then turn around and start walking away again. If the entity isn't moving, it will turn and face me, but no text box will display.
Allow me to post some more code for you to look at, if you will :) Again, thanks in advance for the help.
system.vc looks like this...
void Autoexec()
{
Map("Gothic.map");
}
void DrawBox(int x1,int y1,int x2,int y2)
{
RectFill(x1,y1,x2,y2,128); // just draws a grey (or in hicolour, almost black) box
}
void Text(string line1, string line2, string line3)
{
while (!b1)
{
Render();
RectFill(0,207,319,239,1);
Rect(0,207,319,239,10);
GotoXY(2,209); PrintString(0,line1);
GotoXY(2,219); PrintString(0,line2);
GotoXY(2,229); PrintString(0,line3);
ShowPage();
UpdateControls();
}
}
and Gothic.vc looks like this...
event // #0, the autoexec event!
{
PaletteMorph (0,0,0,0,63);
CameraTracking = 0;
SetPlayer(Entityspawn(8,4,"chrono.chr"));
}
event //1, Water event
{
if (Random(2) = 0)
{
Text("The candle burns brightly.","","");
}
else
{
Text("The candle casts strange shadows.","","");
}
}
I am setting the entity to activate event one, which is the same one as the zone uses (which comes up if you stand next to the candle)
BlacKnyght
Posted on 2000-12-28 19:23:33
|