Home   Help Search Login Register  

Author Topic: need help with freefall para opens at 200 feet script  (Read 1531 times)

0 Members and 2 Guests are viewing this topic.

Guru

  • Guest
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.
« Last Edit: 13 Oct 2002, 18:04:41 by Willy Makeit »


Guru

  • Guest
Re:need help with freefall para opens at 200 feet script
« Reply #2 on: 14 Oct 2002, 01:01:39 »
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

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:need help with freefall para opens at 200 feet script
« Reply #3 on: 14 Oct 2002, 18:08:01 »
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.

"When 900 years YOU reach, look as good you will not!"

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:need help with freefall para opens at 200 feet script
« Reply #4 on: 14 Oct 2002, 22:50:04 »
Use "moveindriver" instead of "moveincargo". There is no cargo slot in a parachute. :P
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

Guru

  • Guest
Re:need help with freefall para opens at 200 feet script
« Reply #5 on: 17 Oct 2002, 22:22:01 »
thx guys ,works great :)
ill solve this now