OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: sgtGunneryHighway on 20 Oct 2002, 23:05:17
-
How can i do for activate a trigger with a smoke shell throwing?
-
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..
-
have u looked in the scripts section?
i quote from the first line of "Sefe"'s detection script:
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?