OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: cobra3 on 05 Oct 2003, 22:51:33
-
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 ??? ?
-
SoldierName MoveInCargo ChopperName
Beware the GrimMonkey
-
Or for an entire group "_x moveincargo heloname" foreach units squadname
-
More Exactly "_x moveincargo heli" foreach units *LEADER OF GROUP*
Harkonin ;)
-
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:
"_x moveInCargo heloname" forEach units this
-
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