Home   Help Search Login Register  

Author Topic: I need the code for make soldiers get in a helicopter please...  (Read 504 times)

0 Members and 1 Guest are viewing this topic.

cobra3

  • Guest
i cant remember the code that make soldiers automaticly be in the helicopter when the mission start...
maybe something like "Jack Loadin d cargo"...
i cant remmember exactly the code...

any help ??? ?

GrimMonkey

  • Guest
SoldierName MoveInCargo ChopperName


Beware the GrimMonkey

Harkonin

  • Guest
Or for an entire group "_x moveincargo heloname" foreach units squadname

Offline revellion

  • Contributing Member
  • **
    • My Website
More Exactly "_x moveincargo heli" foreach units *LEADER OF GROUP*
Harkonin ;)
Best Logistic Addons and Missions: www.TheChainOfCommand.com

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
And before this escalates... you're actually both right in your respective uses of the units command - it takes either a unit or the name of a group as a parameter.

To clarify the original question: if you want a certain group to be loaded in the back of a helo on mission start, put this in the init field of, say, the group leader:
Code: [Select]
"_x moveInCargo heloname" forEach units this

« Last Edit: 08 Oct 2003, 15:39:48 by Killswitch »

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
And to support what Killswitch said, check this out (last reply
by me):

http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=13127

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted