Home   Help Search Login Register  

Author Topic: Paradrop question  (Read 442 times)

0 Members and 1 Guest are viewing this topic.

Offline the_shadow

  • Members
  • *
  • "ultima ratio regum"
Paradrop question
« on: 28 Feb 2004, 21:15:46 »
can anyone help me here?

how do i get everyone assigned as cargo in a plane eject with say, 1 second split between them (without using a script?)

i also want it to work if i hav a group of letÂ's say 4 cargo planes and 2 squads in each plane... then everyone assigned as cargo in any of the planes should eject (say the planes are named planes as a group)

how can i make this the easiest way?

i really donÂ't know anything about scripting

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Paradrop question
« Reply #1 on: 28 Feb 2004, 23:28:24 »
Quote
how do i get everyone assigned as cargo in a plane eject with say, 1 second split between them (without using a script?)

The easiest way is to do it with a script... I think there's a few at the Ed Depot...

However, if u don't like to do it with a script (!! ??? !!) u can do it with Game Logic but that requires you to name each and everyone in the groups ejecting the planes...

So with Game Logic you do it something like this:

Put an Game Logic on the map -> Give it an AND waypoint -> in its condition field put theConditionYouWantToCauseTheEjecting -> set timeOut to 1/1/1 -> on activation put nameOfSoldier action ["eject",planeName] -> give a second waypoint -> set timeOut to 1/1/1 -> on activation put nameOfSoldier action ["eject",planeName] and so and so on until you have made an eject 'command' for all your soldiers...
At this moment you might bee realising that a small script running a little loop to eject all the soldiers u need is far more easier than anything else...  ;)

If you don't need that 1 sec delay u just create a trigger then with condition theConditionYouWantToCauseTheEjecting and on activation {_x action ["eject",planeName]} forEach units groupToEject...

Syntaxes have no guarantees...  :P

Quote
i really donÂ't know anything about scripting
It's not that complex, trust me...

"Don't fear the scripting. Make the scripting fear you..."  ;D ;)
« Last Edit: 28 Feb 2004, 23:31:38 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.