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: trigger firing activation  (Read 938 times)

0 Members and 1 Guest are viewing this topic.

sgtGunneryHighway

  • Guest
trigger firing activation
« on: 20 Oct 2002, 23:05:17 »
How can i do for activate a trigger with a smoke shell throwing?

Kaliyuga

  • Guest
Re:trigger firing activation
« Reply #1 on: 21 Oct 2002, 00:23:08 »
Hmm.... you could name the unit that will be firing the smoke shell... then use this in a trigger:

condition: unitname ammo "smokeshell" < x

where x is the number of smokeshells he starts with... since the AI never fire smoke unless you tell em to... (in my experience) you can count on him having the full amount until you tell em to fire one off... if the player will be firing  smoke, just give em a limited number..


david-p

  • Guest
Re:trigger firing activation
« Reply #2 on: 21 Oct 2002, 14:46:07 »
have u looked in the scripts section?
i quote from the first line of "Sefe"'s detection script:
Quote
This script is useful if you want to execute scripts when smoke shells are thrown or flares are fired.
That should do the trick, should it not?
« Last Edit: 21 Oct 2002, 14:47:24 by david-p »