Code: Select all
{
Spawn[ ()
{
Console(true);
NewOrder("Start");
} ]
Start[ ()
{
PlayerDistOrder(120, "StartTalking");
} ]
StartTalking[ ()
{
Delay("talk1", 3, "grunt1.wav");
Delay("talk2_wave", 2.5, "grunt2.wav");
NewOrder("Move");
} ]
Move[ ()
{
NextPoint();
RotateMoveToPoint("run", 200, 120, true, "");
NewOrder("Start");
} ]
}code]
When the time for the "Move" order to be executed comes, the gme crashes and shows some sort of an "[ERROR]" message about this pawn..it's something about the parameters, what have I done wrong again?
EDIT:
Yes, I know that at this point the script will execute the "Start" order again when the pawn's reached the script point :D