Hi,
I'm using a script which let the soliders rope down from a chopper, using like this:
[Unit,Rope] exec "ropedown.sqs"
But I want a group of soliders to execute this script. How to do that?
Thanks
The sqs file content:
_man = _this select 0
#loop
_height = (getpos _man Select 2)
_man setvelocity [0,0,0]
_man setpos [ getpos _man select 0 , getpos _man select 1 , _height - 0.2]
~0.01
? not alive _man : _man switchmove ""
? not alive _man : goto exit
? _height < 2 : goto "loop2"
? _height > 2 : goto "loop"
#loop2
_height = (getpos _man Select 2)
_man setvelocity [0,0,0]
_man setpos [getpos _man select 0 , getpos _man select 1 , _height - 0.08]
~0.01
? _height > 0.5 : goto "loop2"
? not alive _man : _man switchmove ""
? not alive _man : goto exit
? _height < 0.5 : _man switchmove ""
? _height < 0.5 : goto exit