Jump to content
Sign in to follow this  
TrevorOfCrete

para script

Recommended Posts

hey,

can anyone supply me with a good simple parashoot script. I searched the forum but couldnt find one.

Share this post


Link to post
Share on other sites

huh.gifI suppose you mean a Parachute script. crazy_o.gif

Suspecting you have a group inside a chopper (or plane),

you need to give the group leader a name (e.g: w1)

Now you just need to start the script with:

[w1] exec "jump_out.sqs"

Open a file in notepad and copy/paste the code below into it.

Save it as jump_out.sqs inside your mission folder.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_leader = _this select 0

_group = group _leader

_vehicle = vehicle _leader

_i = 0

_Max = count _group

;_leader groupchat "Jump out"

#here

(_group select _i) action ["EJECT",_vehicle]

unassignvehicle (_group select _i)

_i= _i + 1

~0.5

?_Max>_i:goto "Here"

;{_x setbehaviour "COMBAT"} foreach _group

exit

:note - there are two optional lines, which you can activate

by removing the semicolon at beginning of the line;

The sidechat message and the setbehaviour "combat"

Second will make your guys go in combat mode once they're

out of the vehicle.

~S~ CD

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  

×