Jump to content
Sign in to follow this  
_Brown_

Removing AddActions

Recommended Posts

Once the player has completed an AddAction how do I remove the AddAction so that they can only press it once, not multiple times

Share this post


Link to post
Share on other sites

In the script simply put:

_unit  = _this select 0;
_action = _this select 2;

_unit removeAction _action;

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  

×