OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: NoMore on 12 Mar 2009, 16:46:49
-
Ok I have a few questions about parachutes...
How do you add a parachute to a soldier?
And can this parachute be one of those you don't have to use the ingame command "open parachute"?
You know the once that open when you jump from the vehicle.
I weren't able to find this anywhere, and I'm sorry if there is a post about the somewhere else I couldn't find.
Thanks
NoMore
-
I don't think you can actually give a parachute for a soldier, but you can create an empty parachute with the classname "parachute" at the unit cohordinates and the move in the unit when you need to simulate it's opening the parachute.
-
Hi yes, what he said was a correct idea.
But what's better is this;
Step 1:
Create the player
Step 2: Create an empy parashoot.
Goto: empty > Air > parashoot
Name it : Para1 (or whichever you like)
For the special type: Flying (hit that)
Next in the initialization field of the player type this;
this moveindriver "para1"
When the mission starts you should now have a guy in a parashoot flying and falling. :)...
But if your looking to add a parashoot to a guy who is not in the air yet, you either need some type of created addon or script to do that in which case I donot know how.
Hope that helps.
-
Well if he needs a starting soldier falling down with the parachute open, then he just needs to place a para unit (under the air category) for that side and set the unit property to "flying"