Jump to content
Sign in to follow this  
koalasalad

Deactivate trigger when unit is out of trigger area

Recommended Posts

I need a trigger to deactivate once a unit leaves its trigger area. Once the unit gets inside the trigger area, an add action button appears. What I need is for that add action button to disappear once the unit leaves the trigger area. Would I have to put something in the condition of the trigger?

thanks

Edited by koalasalad

Share this post


Link to post
Share on other sites

trigger unit present:

on act:

myAction = kent addAction ["Undress", "activate_supermanMode.sqf"]

on dea:

kent removeAction myAction

Share this post


Link to post
Share on other sites

myAction = kent addAction ["Undress", "activate_supermanMode.sqf"]

That example was awesome! :laugh:

Kudos Demonized, you give relevant answers with style.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×