Home   Help Search Login Register  

Author Topic: triggers  (Read 464 times)

0 Members and 1 Guest are viewing this topic.

raymond6751

  • Guest
triggers
« on: 15 Jun 2004, 22:51:46 »
I need to have a way to determine which type of unit has triggered a trigger.  I don't mean EAST/WEST but whether infantry, tank, or aircraft.

The problem is air units triggering them prematurely.  If anyone knows the script commands, please respond.

Wallas

  • Guest
Re:triggers
« Reply #1 on: 16 Jun 2004, 12:59:50 »
I donÂ't think I will help you much, but I think it is something like "Class". I know it is used in Oficial mission Camel Attack, but now I am sitting at schoolÂ's computer, so I have no sources here...

Offline Blanco

  • Former Staff
  • ****
Re:triggers
« Reply #2 on: 16 Jun 2004, 16:52:35 »
Try

Code: [Select]
ACTIVATION : WEST

CONDITION : this && ("man" counttype thislist > 0 OR "tank" counttype thislist > 0 OR "car" counttype thislist < 0)

Only west troops,tanks or cars can activate the trigger.



« Last Edit: 16 Jun 2004, 18:57:58 by Blanco »
Search or search or search before you ask.