OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: BHD Mod on 20 Apr 2003, 02:23:28

Title: 1 group drives but one group sits in cargo
Post by: BHD Mod on 20 Apr 2003, 02:23:28
 I know how to make a guy start out in a heli, but how do I make the guy be in a different group and still start out in the heli? Cuz when I say "IN CARGO" he becomes part of the group. Could someone help me?
Title: Re:1 group drives but one group sits in cargo
Post by: Bad Maniac on 20 Apr 2003, 02:39:20
You could always have him leave the group when the "get out" waypoint is activated.
http://www.ofpec.com/editors/script_view.php?id=91 (http://www.ofpec.com/editors/script_view.php?id=91)
Title: Re:1 group drives but one group sits in cargo
Post by: BHD Mod on 20 Apr 2003, 02:52:13
how do I do that?
Title: Re:1 group drives but one group sits in cargo
Post by: Bad Maniac on 20 Apr 2003, 02:53:51
the link I posted above, just add that line to the activate field on the "get out" waypoint. it should work. I hope  ;D
Title: Re:1 group drives but one group sits in cargo
Post by: OFP Guy on 20 Apr 2003, 02:55:53
oh duh! I didn't see the link!
Title: Re:1 group drives but one group sits in cargo
Post by: macguba on 20 Apr 2003, 09:21:12
To go back to the original question, write this in the init line of the loon:-

this moveInCargo chopper1

If it's a whole group you want, write this in the init field of the group leader

"_x moveInCargo chopper1" forEach units group this

Syntax not guaranteed - check it in the command reference.