OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: .::RAMMSTEIN::. on 25 May 2003, 05:52:01
-
Hey, i need to know how to make a trigger that makes a squad get in a m113 after i walk over the trigger
THANKS! ::)
-
you need to put this in leader of squads init.
mygrp = group this
then in trigger on activation put
"_x moveinCargo m113" forEach units mygrp
where m113 is the name of your vehicle...hope that helps
-
Or use assignAsCargo and orderGetIn true.
-
...a trigger that makes a squad get in a m113 after i walk over the trigger...
:) Well, Bob, simply use a"Get in" WP for the grp, and make a "LOAD" WP for teh M113.
If ya like, you can create an "Invisible H" object and put the WP's upon it.
Then set up a trigger and hit F5 and drag a synchr. line between the WP's and between the WP's and the trigger.
And finally, hit F2 and group the trigger to YOU (player) with yet another line. This way, only YOU can fire the trigg.
(aaah, them lines.. hehehehehehe) ;D 8) :-X
PS.
Make it a switch trigger :-*
PPS
The "MoveInCargo" is not so good, as it instantly teleports all of the morons into the "van".