OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Bulletsfire on 22 Sep 2003, 22:17:53

Title: paratroopers
Post by: Bulletsfire on 22 Sep 2003, 22:17:53
how can i make a chopper fly over an are and have guys, not in the choppers squad paratroop out?
Title: Re:paratroopers
Post by: Tomb on 22 Sep 2003, 22:19:41
...by telling them to eject, man! :thumbsup:  ;D


bob action ["eject", bird1]; unassignVehicle bob

(that is if the bird was named "bird", and the guy BOB, heh.)  :P ::)
Title: Re:paratroopers
Post by: Bulletsfire on 22 Sep 2003, 22:37:14
dude, this make the chopper almost land, then he jumps out
Title: Re:paratroopers
Post by: KyleSarnik on 22 Sep 2003, 22:42:34
thats because of unassignvehicle, but he should eject first. You could make a script:

Code: [Select]
unit1 action ["EJECT",chopper]
unassignvehicle unit1

~1

unit2 action ["EJECT",chopper]
unassignvehicle unit2

~1

unit3 action ["EJECT",chopper]
unassignvehicle unit3

and so on....
Title: Re:paratroopers
Post by: Bulletsfire on 22 Sep 2003, 22:51:50
thx :)
Title: Re:paratroopers
Post by: Bulletsfire on 22 Sep 2003, 23:13:33
ok, wen i tryed i had the chopper stay in place, but now i gave it way points and it wont move! >:(
Title: Re:paratroopers
Post by: Iwesshome on 22 Sep 2003, 23:35:28
Read this thread...

http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=7848;start=0
Title: Re:paratroopers
Post by: Bulletsfire on 22 Sep 2003, 23:38:36
i have them in the chopper, and they'll jump, but the chopper wont MOVE!
Title: Re:paratroopers
Post by: Iwesshome on 22 Sep 2003, 23:42:01
Is the chopper and paratroopers grouped together?

If you have done what is in that thread I posted and listed to other guys in this thread then I have no idea the problem.
Title: Re:paratroopers
Post by: Iwesshome on 22 Sep 2003, 23:44:49
Are you trying to eject them by trigger or waypoint?
Title: Re:paratroopers
Post by: Bulletsfire on 22 Sep 2003, 23:46:20
either and no there not in group
Title: Re:paratroopers
Post by: Iwesshome on 22 Sep 2003, 23:57:09
You got me then.... sorry  :-\
Title: Re:paratroopers
Post by: KyleSarnik on 23 Sep 2003, 03:39:19
Maybe its not the script, try it w/ out the script and if it still stays in place then there is something else wrong.
Title: Re:paratroopers
Post by: Tomb on 24 Sep 2003, 22:19:02
i have them in the chopper, and they'll jump, but the chopper wont MOVE!

 :o :wow: :o That's really quite shocking, matey!  :hmm:
(http://216.40.249.192/s/cwm/3dlil/eek13.gif)

(http://216.40.249.192/s/cwm/3dlil/idea.gif) Is there any fuel on the bird? ??? ;D (j/k)  

Try this, dude:

create the choppa, name her BIRD, right?! And then the "moveInCargo" -d00ds.
Then try and make a WP for the bird to some location, and set up a trigger like this:

1. it should cross the WP_line so that the bird simply flies through the trigg_radius.
2. make sure the radius is big enough for any combat-caused avoidance of direction ( :P ::) )
3. add the jump codes to the triggers On Activation field.
4. test the crap and enjoy yer mission.  :-*

I've done this numerous times without any probs, m8, so be sure to DOUBLE CHECK for OTHER erros, such as detection of enemies, behaviour, any other possible commands in conflict with the chopper-WP's "move"command etc. etc.  :)


if it still sux, post back!  ;) ;D
Title: Re:paratroopers
Post by: Tibby on 29 Sep 2003, 19:34:00
how you make the trigger only detect the heli?
cuz then i wouldn't get men running thru it to make the others fall out in enemy lines (i'm doing a rescue mission)
Title: Re:paratroopers
Post by: Drozdov on 29 Sep 2003, 20:08:54
Group the helicopter with the trigger. Then open the trigger and make sure 'Vehicle' is selected in the 'Activation' field. That means that only the chopper will activate it, not some stray dog with rabies. Umm, or anything else...
Title: Re:paratroopers
Post by: Mr.BoDean on 30 Sep 2003, 21:58:42
   Why not just use the Paradrop.sqs script (by the [] coyote) available in the Editors Depot ? It's adjustable, looks good and works great for me.   ;D    ;)