OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: OFPfreak on 12 Aug 2005, 06:58:17

Title: adding parachutes to objects
Post by: OFPfreak on 12 Aug 2005, 06:58:17
I've got 2 questions about parachutes.

question1: How do I add a parachute to an object?

question 2: How do I release the parachute, without the object being stuck in it?

NOTE: do NOT answer question 1 with an example of soldiers since I know how to get a soldier into a parachute, but how do I get e.g..... a TANK in it?
Title: Re:adding parachutes to objects
Post by: THobson on 12 Aug 2005, 09:04:16
If you de-pbo this you will see how to have Chinooks carry tanks and then drop them using 4 parachutes each, other Chinooks will drop ammo crates and Mg jeeps etc.  

http://www.ofpec.com/missions_depot/index.php?ID=967

I am a bit embarrassed at the quality of the scripting I used to do it - it was a long time ago, but you will get the idea.  Basically you create a parachute and continuously setPos the object below it until it is close to the ground.

Title: Re:adding parachutes to objects
Post by: 456820 on 12 Aug 2005, 09:05:52
1. A tank is it possible ? try
tank_name moveincargo parachute_name

2. without the ojecit being stuck in it as n you want to delete the parachute oryou want the canopy to open so the tank falls to the floor and doens tget dammaged ?

maybe a bit more info on the questions