OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: trinec on 20 Mar 2007, 04:34:03

Title: spawn units in parachutes using script
Post by: trinec on 20 Mar 2007, 04:34:03
OK I'm trying to figure out how to spawn units in parachutes when a triggers delay has been reached
I have figured out how to spawn parachutes using

chute1="ParachuteEast" CamCreate [getpos airdrop select 0, getpos airdrop select 1, 100]

which puts the parachute in the sky at 100 meters I then create a unit using

"KEGSOfficerENight" createunit[getpos Chute1,egrp1,"this=eldr1",0.9,"Captain"]

I know you need to moveindriver the unit into the chute but not sure were to put that in the script that im
trying to make.�  I also am trying to make the parachutes fall in a line and some distance from each other.�  �

I have the delay working using the trigger to launch the script after 30 seconds and I have created units and put them starting in the ocean and given them group names.

Thanks
GITrinec



Title: Re: spawn units in parachutes using script
Post by: h- on 20 Mar 2007, 08:11:10
I moved your original post from the ArmA boards here so please continue there..

And in any case do not post duplicate threads..