removeAllActions
Jump to navigation
Jump to search
Description
- Description:
- Removes all unit's user added actions.
- Groups:
- Interaction
Syntax
- Syntax:
- removeAllActions obj
- Parameters:
- obj: Object
- Return Value:
- Nothing
Examples
- Example 1:
- removeAllActions player;
- Example 2:
- Do
Don't
- Example 3:
- Do
Don'tplayer addAction ["Heal self (once)", { params ["_target", "", "_actionId"]; _target setDamage 0; _target removeAction _actionId; }];
Additional Information
- See also:
- actionIDs actionParams addAction setUserActionText inGameUISetEventHandler showHUD inputAction removeAction action
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note