finishing the mission

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Butch
Lieutenant Colonel
Posts: 398
Joined: Fri Jan 24, 2003 11:30 am

finishing the mission

Post 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?
PFC.Butch
B Company, 2nd Ranger Battalion
US Army
Parts
Sergeant
Posts: 72
Joined: Thu Apr 10, 2003 12:35 pm
Location: UK
Contact:

Post by Parts »

$trk waittill drive
[VS-UK]Capt.Parts[BnHQ]
User avatar
Butch
Lieutenant Colonel
Posts: 398
Joined: Fri Jan 24, 2003 11:30 am

Post by Butch »

8) thanks 8)
PFC.Butch
B Company, 2nd Ranger Battalion
US Army
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post 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
hope this helps, prob not cos it's all foreign 2 me :-/
Post Reply