Home   Help Search Login Register  

Author Topic: How do i make triggers activate by ground vehicles, or helicopters  (Read 1301 times)

0 Members and 1 Guest are viewing this topic.

tai mai shu

  • Guest
hey guys, im wondering:

1) how do i make a script that ONLY foot soldiers (no vehicles) whill activate a script, and when activated, the soldier activates a script? "[footsoldier] exec "myscript.sqs""

2) how do i make a script that ONLY wheeled vehicles/tanks activate, and make the VEHICLE (not the crew) activate the script. "[vehicle] exec "myscript.sqs"

3) how do i make a script that ONLY choppers (i only care about choppers, it can include planes also though) activate.  and again, only the chopper andno the crew is sent to the script. "[chopper] exec myscript.sqs"

any response will be GREATLY appreciated
sincerely,
tai mai shu

CrashnBurn

  • Guest
For a radius trigger you're conditions would go as follows:

1.) this and ("man" counttype thislist) > 0

2.) this and ("land" counttype thislist) > 0

3.) this and ("air" counttype thislist) > 0


Offline Sui

  • Former Staff
  • ****
    • OFPEC
Yeap... and just make sure the condition is set to present, (ie. West present, east present, anyone present) as thislist is defined by what you've got the present condition set to...

Also, the:

this and "man"...

part isn't necessary ;)
If there are more than zero "man" units in the trigger, the this condition will be satisfied anyway...
« Last Edit: 27 Aug 2002, 09:26:39 by Sui »

tai mai shu

  • Guest
thanks guys, responses were very much appreciated. TOPIC SOLVED.  ;D