hello,
How can i change this script
_grp = _this select 0
_vehicle = _this select 1
_aunits = units _grp
_i = 0
_j = count _aunits
#Here
(_aunits select _i) action ["EJECT",_vehicle]
_i=_i+1
~.4
?_j>_i:goto "Here"
exit
that activates using: [grp1,heli1] exec"groupeject.sqs"
into a script that can eject more than 1 group at a time from the same heli.
so you could enter in the init:
[grp1,grp2,grp3,grp4,grp5,heli1] exec"groupeject.sqs
if you dont understand basicly:
I have 5 grps that are in one helo(big helo) and I want the script above to eject them all using this syntax in an activation field of a trigger.(or somthing like it)
[grp1,grp2,grp3,grp4,grp5,heli1] exec groupeject.sqs"
how would i change the script to do this?
thanks