Home   Help Search Login Register  

Author Topic: trigger firing activation  (Read 692 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 »