Home   Help Search Login Register  

Author Topic: stupid parachute  (Read 1286 times)

0 Members and 1 Guest are viewing this topic.

Siber Fox

  • Guest
stupid parachute
« on: 09 Nov 2002, 23:13:53 »
How do you make guys jump from a Chinook?

and how do you make the chinook disapear after they jump?

silent1

  • Guest
Re:stupid parachute
« Reply #1 on: 09 Nov 2002, 23:19:58 »
Download a script from the Editor's section, on your toolbar. It'll tell you what to do with it.

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:stupid parachute
« Reply #2 on: 10 Nov 2002, 10:01:27 »
same way as any other chopper ;) with the possible exception of that you can have more groups in a chinook...oh well, why not create a separate chinook ejection script. Try this one:

_chop= _this select 0
_fullcrew= count crew _chop

#JumpLoop
~1
?_fullcrew == 0 : exit
_jump= crew _chop select _fullcrew
?_jump == driver _chop : _fullcrew=_fullcrew - 1; goto "JumpLoop"
?_jump == gunner _chop : _fullcrew=_fullcrew - 1; goto "JumpLoop"
_jump action["EJECT", _chop]
_jump unAssignVehicle _chop
_fullcrew= _fullcrew - 1
goto "JumpLoop"

Or somesuch ;) Now everyone 'xcept the gunner & the driver should eject :D Called [chopperName] "scriptName.sqs"

::) I've got too much time on my hand...and if this somehow fouls up, just go to the editor's depot and the snippets section and find yourself a normal ejection script :D

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

rancor_man67

  • Guest
Re:stupid parachute
« Reply #3 on: 10 Nov 2002, 13:03:28 »
there is a simple command for it in the triggers INT field, but i fogot! I used it in a mission once and it worked well.

I think its  <unit name> eject<chopper name>"eject"

Or it might be <unit name> eject "eject"

Rancor.
« Last Edit: 10 Nov 2002, 13:12:01 by rancor_man67 »

JFK

  • Guest
Re:stupid parachute
« Reply #4 on: 10 Nov 2002, 14:57:03 »
unitname action ["eject", "nameofchopper"]

JFK

  • Guest
Re:stupid parachute
« Reply #5 on: 10 Nov 2002, 14:57:37 »
i think  ::)

Siber Fox

  • Guest
Re:stupid parachute
« Reply #6 on: 10 Nov 2002, 19:25:11 »
Thanks everyone. I got it now. :)

dreaming_adam

  • Guest
Re:stupid parachute
« Reply #7 on: 12 Nov 2002, 20:55:27 »
go to the editing section of this site, CODE SNIPPETS, and you will find an ejection script to eject all units in the helo.. Then to delete the helo, use this comment

DELETEVEHICLE helo

helo being the name of the helo.

cheers

Adam