Home   Help Search Login Register  

Author Topic: group moveincargo/eject  (Read 571 times)

0 Members and 1 Guest are viewing this topic.

fargo

  • Guest
group moveincargo/eject
« on: 15 Apr 2004, 00:20:39 »
does anyone know if i can have a group eject together, im making a mission where u jump out of a c-130, which has 35 or so men in it(which are in like 3-5 groups), can i make them eject by group instead of making 35 individual waypoints ??? i was trying something like para1group action ["eject", c130]
(para1- leader of group) making 35 individual waypoints and typing in the action for it is not fun  >:(
« Last Edit: 15 Apr 2004, 00:23:15 by fargo »

Kammak

  • Guest
Re:group moveincargo/eject
« Reply #1 on: 15 Apr 2004, 00:49:13 »
Instead of using several waypoints, just do it all in one waypoint.

If you want them to jump with minimal delay between guys, use this in the activation field of the waypoint:

{_x action["Eject",xxxx]} foreach units group yyyyy


Where xxxx is the vehicle name, and yyyy is the name of somebody in the group.

If you want a delay between jumpers, use a script:

_guy=_this select 0
_arrGuys=units group _guy
_counter=0
_max=count _arrGuys
_vehicle=vehicle _guy

#JumpLoop
~1
_arrGuys select _counter action["Eject",_vehicle]
_counter=_counter+1
? _counter<_max:goto "JumpLoop"
exit


You can change the ~1 line to whatever delay you want between jumpers.
If you use the script, then in the waypoint you call

[xxx] exec "scriptname.sqs"

Where xxx is some guy in the group.

Loup-Garou

  • Guest

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:group moveincargo/eject
« Reply #3 on: 15 Apr 2004, 19:25:39 »
Get the script at the ed depot it will make all your guys jump in one command.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."