Page 1 of 1

finishing the mission

Posted: Fri Apr 11, 2003 8:54 pm
by Butch
In my map I want the mission to finish when a truck ($trk) has finished its path ($wap)

this is in the script:

/////////////
truck:

$trk drive $wap
$trk waittill

end
/////////////

it's not the whole script, but what do I put after waittill? And is there anything else there should be?

Posted: Fri Apr 11, 2003 10:05 pm
by Parts
$trk waittill drive

Posted: Fri Apr 11, 2003 10:05 pm
by Butch
8) thanks 8)

Posted: Fri Apr 11, 2003 11:56 pm
by nuggets
that won't always work tho...

it's nest to use,
if ($truck.position == $way1.position)
{
//then end the mission here with what ever you want,
}
else
{
iprintlnbold_noloc "almost ther me love"
}

just for added scrutiny :P