Home   Help Search Login Register  

Author Topic: Squad in the vehicle by ONE command?  (Read 563 times)

0 Members and 1 Guest are viewing this topic.

Serial Killer

  • Guest
Squad in the vehicle by ONE command?
« on: 07 Apr 2005, 19:07:23 »
I forgot this command, so what was it..? I remember, that I have to write squad's leader's Init something like Squad1=squadthis. I don't remember anything else :-[

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Squad in the vehicle by ONE command?
« Reply #1 on: 07 Apr 2005, 20:21:20 »
grp1 = group this

What are you trying to do, exactly?
Plenty of reviewed ArmA missions for you to play

Serial Killer

  • Guest
Re:Squad in the vehicle by ONE command?
« Reply #2 on: 07 Apr 2005, 20:42:03 »
I try to move a squad in to helicopter by ONE command. I don't want to write that moveInCargo thing to every soldier. Understand?
« Last Edit: 07 Apr 2005, 20:42:28 by Serial Killer »

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:Squad in the vehicle by ONE command?
« Reply #3 on: 07 Apr 2005, 20:52:46 »
This moves all soldiers of a squad into the cargo of a vehicle named somevehicle:
Code: [Select]
{_x moveInCargo somevehicle} forEach units this(Put it into the init line of the leader of the group)
« Last Edit: 07 Apr 2005, 20:58:19 by Killswitch »

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:Squad in the vehicle by ONE command?
« Reply #4 on: 07 Apr 2005, 23:31:49 »
Code: [Select]
{_x moveInCargo truck1} forEach units group thisIf you use the above you can put it in the init field of ANY unit in the group.  Change "truck1 to the name of the vehicle you are using.