OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: desert_storm_dude on 28 Jun 2003, 01:16:06
-
i would like to know a command to make someone jump out of a plane when they hit a trigger like ex.
this action "eject" not no script
-
unitname action ["eject",planename]
not sure if that's 100% accurate but give it a try ;)
-
I think you will actually have to use a script, I can write it 4 you if you want?
-
I think you will actually have to use a script
Scripting a single unit to eject would be ridiculous max. Artak's way is fine, but you need to unassign the unit after ejecting it or he may go running after the vehicle..lol
-
yeah, i suppose. Just so used to scripting now, its hard to say its wrong, or theres another wat 2 do it!!! ;D
-
:D CrashnBurn is right! It has to be done this way in a trigger:
Bob action ["eject", planeName]; unassignVehicle Bob
Just name the guy & the plane, oh and be sure to stretch out the axis of the trigger,
we don't wanna see ol' Bob passing by his bail spot while doing the female pilot up there ::) ;D
So be sure to set the axis of the trigg. to some 60 x 350 or more :-*
oh :o and you can TURN triggers by pressing & holding down SHIFT while
you drag or slide the mouse (holding down the left button).
Just in case ya didn't know, buddy ;) :)
-
alternatively - if there was a SPECIFIC area you wanted him to jump at you might be able to use a distance command?
I cant remember it off the top of my head - but you know the kind of thing:
?Bob Distance EjectPoint <100
Type thing.
Or something. Maybe.
???
Dan ;D