Home   Help Search Login Register  

Author Topic: group eject command  (Read 1068 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!