Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: group eject command  (Read 1283 times)

0 Members and 1 Guest are viewing this topic.

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
group eject command
« on: 18 Apr 2008, 01:37:54 »
Hi all~
    OFPEC is looking nice better then before. I have a question about a command. How do you make a group of soldiers parashoot/eject from a chopper all at once without using the individual command for each unit?

I know it has something to do with the _x, foreach unit this list, but I have no idea how the rest of it goes..thank you for the help..
Who's hyped for Arma4, long live Arma!

Offline schuler

  • Contributing Member
  • **
Re: group eject command
« Reply #1 on: 18 Apr 2008, 07:22:52 »
hi Jay, i can attach a demo if you like
cmd="EJECT"; "_x action [cmd,heli]" foreach units rangers
cheers schuler
« Last Edit: 18 Apr 2008, 07:24:44 by schuler »
Semper Fi

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Re: group eject command
« Reply #2 on: 18 Apr 2008, 19:09:45 »
That's alright, yeah I found a paradrop script to use to, but your command script works, I was just originally looking for a command as in "foreach this list" as you posted. I appreciate it...
Who's hyped for Arma4, long live Arma!