OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Guru on 13 Oct 2002, 17:36:46
-
ok i got a idea an its a doosie ;D
ive used a setpos command to get my dude to start freefalling from 10000 ft.
what i need is a script that checks his height (often)he falls really fast lol.
then does a moveincargo to an empty parachute at around 250 feet.
thus simulating a real military type spec-ops para drop into
enemy infested backcountry
i need this because. its near impossible to get them to land where i want, if they are floating in there parachutes from any height(the wind blows em all over). and starting parajump at 250 ft. just doesnt cut it.
plz help plz plz ;D
plus it would be real cool start to a mission im making
dont know if its even possible, but if it is what a script.
-
http://www.ofpec.com/editors/browse.php?browsewhat=2&category=2_4
-
i looked thru all those an none are what im looking for
a simple parajump this is not.
i want dude to fall from 10000 ft. which i have him doing
what i need is a script that checks his height and at 250 ft. from the ground it then attaches the chute. theres no plane involved. im using---- setpos [getpos select 0,getpos select 1,x] to start him at 10000 ft no chute at this point. so he free falls (head first down to which is cool) the attaching of chute needs to happen at 250 feet or so ;D
-
Well, *ahem* a halo drop script would have been fine..
You don't need to check it constantly; for just one person it's a simple matter of creating a trigger, with the condition:
getpos dude select 2 < 250
and the activation:
para="Parachute" CamCreate getpos dude; dude moveInCargo para
And he'll magically spawn a parachute and be moved into it. It'll even unfold ;)
Note: OFP uses the metric system, so this would make the parachute open at 250 meters above ground. If you really really want to change that to feet, feel free...
Good luck!
Wolfrug out.
-
Use "moveindriver" instead of "moveincargo". There is no cargo slot in a parachute. :P
-
thx guys ,works great :)
ill solve this now