Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Deg

Marker Issue

Recommended Posts

Hi all just have a little problem i cant figure out, in my mission i have an ellipse marker to indicate an area that has Anti-Air units randomly put in the area of the marker, i know how to delete the marker in game using a trigger, activation independents and set to not present and deleteMarker "markername" in the on act field, but what im trying to accomplish is how do i set up the trigger so that i dont have to kill all independents in the area only the AA units to delete the marker? Thanks in advanced.

Deg

Share this post


Link to post
Share on other sites

In the condition field of the trigger:

myaa1(!alive) && myaa2(!alive)

Just name your aa units what every you like and change the name in the above line.

Share this post


Link to post
Share on other sites

Riouken your syntax is a bit off there. :)

Trigger:

Independant - Present - Once

Condition:

{alive _x && _x isKindOf "TK_GUE_Soldier_AA_EP1"} count thislist == 0

OnAct:

hint "AA threat neutralized!";deleteMarker "aaThreat";

Share this post


Link to post
Share on other sites

Thank you very much that did the trick :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

×