OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: beretta on 11 Apr 2005, 18:57:27

Title: how do you make unit eject
Post by: beretta on 11 Apr 2005, 18:57:27
how can i make units eject from a moving plane or helicopter
Title: Re:how do you make unit eject
Post by: greg147 on 11 Apr 2005, 19:05:47
Code: [Select]
unitname action ["EJECT"]
Should work. If not....

Code: [Select]
unitname action  ["EJECT", "vehiclename"]
Put either of them into a triggers init field  ;)
Title: Re:how do you make unit eject
Post by: Serial Killer on 11 Apr 2005, 19:25:35
I think that this must be In Scripting forum, not here...
Title: Re:how do you make unit eject
Post by: greg147 on 11 Apr 2005, 19:32:09
Me thinks it should be in the general editing and scripting board aswell  :P
Title: Re:how do you make unit eject
Post by: beretta on 11 Apr 2005, 19:35:06
THERE IS no triggers init
Title: Re:how do you make unit eject
Post by: Planck on 11 Apr 2005, 19:37:16
Try the On Activation field then.


Planck
Title: Re:how do you make unit eject
Post by: beretta on 11 Apr 2005, 19:41:02
the activation field takes it but he doent eject am making a zombie mission with this unit as a intro of a zombie ambush i need this to work >:(
Title: Re:how do you make unit eject
Post by: Planck on 11 Apr 2005, 19:47:41
Name your unit.....lets say his name is 'frank'
Name your vehicle....lets say the vehicle is called 'fred'

Then use:

frank action ["EJECT", fred]


In the triggers On activation field.

If you have the car already with the driver in then try:

fredd action ["EJECT", fred]



Planck
Title: Re:how do you make unit eject
Post by: greg147 on 11 Apr 2005, 21:45:49
What type of vehicle is it you're using? Land or air?  :P
Title: Re:how do you make unit eject
Post by: beretta on 11 Apr 2005, 22:15:00
greg147 am useing a air unit a UH60 i think
Title: Re:how do you make unit eject
Post by: greg147 on 11 Apr 2005, 22:17:46
You may want to look in the editors dept for any good para drop scripts. They have some useful ones there  ;D
Title: Re:how do you make unit eject
Post by: beretta on 11 Apr 2005, 22:19:28
greg do you know for any good para scripts and do you know for any good swat van models
Title: Re:how do you make unit eject
Post by: Dubieman on 12 Apr 2005, 00:36:20
berreta, read Greg's post. ---->Editor depot : best place in the world

since you've already got a swat van topic, no need to answer here. ;)

and this is gen. edting...
Title: Re:how do you make unit eject
Post by: Morglor9 on 21 Apr 2005, 00:29:55
beretta, you should really try spending a day or two in both the addons depot and the editors depot, then spend another week in the addons section of ofp.gamezone.cz. then you will know what is out there for addons, and what people have made in terms of scripts and tutorials. esspecially tutorials.

sorry if i sound angry, it's hard to type something like this and sound calm. text just doesn't allow you to input tone like voice...