Home   Help Search Login Register  

Author Topic: helo eject  (Read 691 times)

0 Members and 2 Guests are viewing this topic.

FuseBox

  • Guest
helo eject
« on: 10 Mar 2003, 05:24:03 »
whats the best helo eject script out there?

ty 4 the info

CrashnBurn

  • Guest
Re:helo eject
« Reply #1 on: 10 Mar 2003, 06:04:47 »
Here's the one the developers use-


_grp = _this select 0
_vehicle = _this select 1

_aunits = units _grp
_i = 0
_j = count _aunits

#Here
(_aunits select _i) action ["EJECT",_vehicle]
unassignvehicle (_aunits select _i)
_i=_i+1
~0.5
?_j>_i:goto "Here"

"unassignvehicle _x" forEach units _grp

exit


To call the script, use groupname and heloname

[Alpha, helo1] exec "eject.sqs"

FuseBox

  • Guest
Re:helo eject
« Reply #2 on: 10 Mar 2003, 07:34:17 »
aww f*ck it does not work with the bas chinook
« Last Edit: 10 Mar 2003, 07:35:24 by FuseBox »

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:helo eject
« Reply #3 on: 10 Mar 2003, 16:43:50 »
why not?
Not all is lost.

FuseBox

  • Guest
Re:helo eject
« Reply #4 on: 12 Mar 2003, 05:55:10 »
i think it has to do with the chopper being able 2 open the back up

Ace

  • Guest
Re:helo eject
« Reply #5 on: 12 Mar 2003, 23:48:16 »
no that shouldn't have anything to do with it.
This is the script i use and it doesn't need any calling by groups or choppers.

_aunits = units player
_i = 0
_Max = count _aunits

#Here
(_aunits select _i) action ["EJECT",helo]
unassignvehicle (_aunits select _i)
_i=_i+1
~0.5
?_Max>_i:goto "Here"

~6

exit


just [] exec "eject.sqs" whenever needed