Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: triggers  (Read 836 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.