Home   Help Search Login Register  

Author Topic: Ejecting...  (Read 821 times)

0 Members and 1 Guest are viewing this topic.

DaRkmAn

  • Guest
Ejecting...
« on: 20 Oct 2002, 07:21:26 »
Ejecting from a blackhawk when we enter a trigger, how can i do this? im on v1.85

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Ejecting...
« Reply #1 on: 20 Oct 2002, 13:22:26 »
try looking in the:

editors depot

or try:

searching

there is a thread below this one about ejecting from a C130 - try and search before you ask, thats what the editors depot and search engine are there for.
Proud Member of the Volunteer Commando Battalion

DaRkmAn

  • Guest
Re:Ejecting...
« Reply #2 on: 20 Oct 2002, 21:24:17 »
i did search i didnt find anything that helped that why i asked.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Ejecting...
« Reply #3 on: 20 Oct 2002, 23:15:18 »
Code: [Select]
; Script name : parachute.sqs

_units = units group (_this select 0)
_helicopter = _this select 1
_i = 0
_Max = count _units
#Here
(_units select _i) action ["EJECT",_helicopter]
unassignvehicle (_units select _i)
_i=_i+1
~1
?_Max>_i:goto "Here"
exit


a script i picked up from the editors depot. execute it like this:

[groupleadername, choppername] exec "parachute.sqs"
Proud Member of the Volunteer Commando Battalion