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

Title: Ejecting from a plane
Post 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
Title: Re:Ejecting from a plane
Post by: Artak on 28 Jun 2003, 10:15:31
unitname action ["eject",planename]

not sure if that's 100% accurate but give it a try  ;)
Title: Re:Ejecting from a plane
Post by: max_killer_payne on 28 Jun 2003, 10:37:30
I think you will actually have to use a script, I can write it 4 you if you want?
Title: Re:Ejecting from a plane
Post by: CrashnBurn on 28 Jun 2003, 16:25:32
Quote
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
Title: Re:Ejecting from a plane
Post by: max_killer_payne on 28 Jun 2003, 16:32:44
yeah, i suppose. Just so used to scripting now, its hard to say its wrong, or theres another wat 2 do it!!!  ;D
Title: Re:Ejecting from a plane
Post by: Tomb on 30 Jun 2003, 09:01:54
 :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  ;) :)




Title: Re:Ejecting from a plane
Post by: zsa_zsa_rasputin on 01 Jul 2003, 01:07:55
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