OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Zahael on 14 Oct 2002, 14:03:16

Title: Para's
Post by: Zahael on 14 Oct 2002, 14:03:16
Hey Guys, How do I make blokes appear with a parachute?  Like a drop?  I know there is the option of using the editor version, but I don't want spetznaz, I want regular troopers.

Any help is Appreciated

Zahael
Title: Re:Para's
Post by: Chris Death on 14 Oct 2002, 15:03:41
Just create empty chutes

side: empty
type: air
special: flying

You can put a guy into a chute by using:

unitname moveindriver chutename

also you can set it's height by using:

chutename flyinheight x

while x is the number in meters

~S~ CD

If you want to let chuter's appear midmission, you can
use camcreate or createvehicle, and then move a guy into.

chute1="ParachuteC" CamCreate (getpos gamelogic1)

:note - chute1 is the name, you can use for the moveindriver
command later (unitname moveindriver chute1)
gamelogic1 is just an example  ;)

~S~ CD


~S~ CD
Title: Re:Para's
Post by: Wolfrug on 14 Oct 2002, 17:31:04
Chris is correct, although it can be quite time-consuming. My suggestion is that you go to the Editor's Depot, and check the scripts there. Somewhere there should be a HALO jump script made by Shogun. In this script you can easily determin the height of which the chutes should "open"; just make the starting height and the chute opening height the same, and they'll open right away. Easy as a pie. ;)

Wolfrug out.