Home   Help Search Login Register  

Author Topic: EJECTING  (Read 755 times)

0 Members and 1 Guest are viewing this topic.

Judge856

  • Guest
EJECTING
« on: 24 Apr 2003, 01:15:51 »
Right, I've been stuck on this for days, literally. I've tried the scripts, and looking though the boards, also tried what people have told me to do when I last posted this but I can't get anything to work!!!!!!!!!!

How can I make 3 groups eject from a plane when they hit a trigger? Yes, it's that simple yet I don't get it and can't get it, no matter what I've tried.

Please help me :-\

kingneb

  • Guest
Re:EJECTING
« Reply #1 on: 24 Apr 2003, 01:40:27 »
There are no planes in Flashpoint that can carry 3 groups soldiers, unless you downloaded a mod; or do you mean a chopper?  

For chopper ejection, on trigger hit, you need to get the chopper to go as high as possible, "FlyInHeight" might work for this.  You then need to perform an eject action amongst the soldiers paratrooping.  If the chopper is too low, the guys will die.  The trigger executes the eject action.  

Kaliyuga

  • Guest
Re:EJECTING
« Reply #2 on: 24 Apr 2003, 02:59:13 »
You can use this script:  call it  "eject.sqs"
------------------------------------------------------------
_grp = _this select 0
_vehicle = _this select 1

_aunits = units _grp
_i = 0
_j = count _aunits

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

exit
=======================================

exec in your trigger like this:

[mygroup,heli1] exec "eject.sqs";
[mygroup2,heli1] exec "eject.sqs";
[mygroup3,heli1] exec "eject.sqs"


to name your group use this in the leaders init field:

mygroup=groupthis  
mygroup2=groupthis  

etc......  

hope this helps you out ;)



BTW they're  called addons, not mods ::)
« Last Edit: 24 Apr 2003, 03:00:09 by Kaliyuga »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:EJECTING
« Reply #3 on: 24 Apr 2003, 10:58:12 »
"mod" is the collective noun for related addons.    For example, a custom map of Oahu, some Japanese plane addons and American ship addons would be a Pearl Harbour mod.
Plenty of reviewed ArmA missions for you to play