OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Nippleboy on 03 Apr 2003, 23:10:20

Title: Paradrop Classic!
Post by: Nippleboy on 03 Apr 2003, 23:10:20
Hi,
Could some kind fellow gimmie a link to a nice and simple Parachutin' script?
I am having a few problems with the ones on this site, my troops try to get back in the chopper after having jumped out!
cheers
Chris
Title: Re:Paradrop Classic!
Post by: Nippleboy on 03 Apr 2003, 23:19:43
Sorry I just realised I put this in the wrong section
Title: Re:Paradrop Classic!
Post by: toadlife on 04 Apr 2003, 03:04:10
Sounds like a proble with the way you're ejecting the units, and not the paradrop script.

You have to do "unuaasignvehicle _unit" for all of the units that eject, or else they will allways want to get back into the vehicle.

So if you are ejecting unit1, unit2 and unit3 you would need to do something like this:

Code: [Select]
unassignvehicle unit1
unit1 action["eject",vehicle unit1]
~0.4
unassignvehicle unit2
unit2 action["eject",vehicle unit2]
~0.4
unassignvehicle unit3
unit3 action["eject",vehicle unit3]
Title: Re:Paradrop Classic!
Post by: Funky Spingers on 05 Apr 2003, 00:01:31
Try this tutorial, I found it easy to follow and should solve your problem.  :)