Jump to content
Sign in to follow this  
privateydb

Parachute question

Recommended Posts

completing my series of really stupid questions, what do i put in a trigger to make a unit parachute out of a chopper at a certain location. thanks....

Share this post


Link to post
Share on other sites

_aunits = units teamleadername

_i = 0

_j = count _aunits

#Here

(_aunits select _i) action ["EJECT",choppername]

unassignvehicle (_aunits select _i)

_i=_i+1

~1

?_j>_i:goto "Here"

exit

Just use player exec "whatever.sqs" to activate.

Merry christmas.

(Edited by MP at 6:50 am on Dec. 25, 2001)

Share this post


Link to post
Share on other sites

thats if he knows how to put it in a script in the first place.

Share this post


Link to post
Share on other sites

Well you only gotta cut and paste and save as "whatever.sqs".

You could've told him that if it isn't obvious.

Share this post


Link to post
Share on other sites

If you just got 1 or 2 unit/s to jump, put in the activation field of a trigger or WP:

unitname Action ["EJECT", heloname]

(Edited by Intruder at 2:13 pm on Dec. 26, 2001)

Share this post


Link to post
Share on other sites

That was a nice way to do it with little coding, however, I thought the UnAssign command was necessary whenever a unit exits a vehicle, won´t the chopper come back and get´em?

Share this post


Link to post
Share on other sites

Yup, thats true hindhunter, You need to unassign the unit from the chopper so he doesn't try to get back in.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×