Home   Help Search Login Register  

Author Topic: spawn parachutes with units using trigger after delay  (Read 1080 times)

0 Members and 1 Guest are viewing this topic.

Offline trinec

  • Members
  • *
  • I'm a llama!
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


Admins please remove this message I meant to post it in the ofp scripting and not arma
Thanks
« Last Edit: 20 Mar 2007, 08:10:08 by trinec »

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: spawn parachutes with units using trigger after delay
« Reply #1 on: 20 Mar 2007, 04:35:31 »
Just add to the end of your line a ;
Like this:

Code: [Select]
"KEGSOfficerENight" createunit[getpos Chute1,egrp1,"this=eldr1",0.9,"Captain"] ; eldr1 moveindriver chute1

Xbox Rocks

Offline trinec

  • Members
  • *
  • I'm a llama!
Re: spawn parachutes with units using trigger after delay
« Reply #2 on: 24 Mar 2007, 20:36:34 »
Well that worked great for ofp any ideas on arma the units only spawn at ground with chutes like they are landing the height doesnt seem to work