hideActions
Description
- Description:
-
Hides/unhides user UI actions given by their enum number (see shownAction).
- Groups:
- Interaction
Syntax
- Syntax:
- hideActions [mode, actions]
- Parameters:
- mode: Number or String or Boolean mode of operation, could be one of:
- 0 or "UnhideSelected" or false - only given actions (if previously hidden) would be unhidden
- 1 or "HideSelected" or true - only given actions would be hidden
- 2 or "UnhideAllButSelected" - all hidden actions will be unhidden except for the given actions
- 3 or "HideAllButSelected" - all actions will be hidden except for the given actions
- actions: Array of Numbers (see shownAction)
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
- hideActions ["UnhideSelected", [1, 2]]; //unhide GetInCommander and GetInDriver actions
- Example 3:
- hideActions [1, [91]]; //hide all user added actions
- Example 4:
- hideActions ["HideAllButSelected", [91]]; //hide all engine actions leaving only user added
- Example 5:
- hideActions [3, []]; //hide all actions
- Example 6:
- hideActions ["UnhideAllButSelected", []]; //unhide all hidden actions
Additional Information
- See also:
- hiddenActions shownAction visibleMap shownGPS shownWatch shownCompass shownUAVFeed shownHUD addAction action isActionMenuVisible Arma_3:_Mission_Event_Handlers#ActionTargetChanged
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note