Jump to content
Sign in to follow this  
BillGatezSux

Russian soldiers and choppers - ejecting

Recommended Posts

I've been trying to make the russian soldiers to eject from the hind 17 and still I cant do that with neighter if the scripts that I hown.

Any tips or directions??

I'm completly lost.

Share this post


Link to post
Share on other sites

Try this:

Q.

;_helo being the name of the helo

;_hunits being the name of the name of the leader of the group

_helo = _this select 0

_leader = _this select 1

_leaderarray = units _leader

_i = 0

_numunits = count _leaderarray

#loop

(_leaderarray select _i) action ["EJECT",_helo]

unassignvehicle (_leaderarray select _i)

_i=_i+1

~1

?_numunits>_i:goto "loop"

exit

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  

×