hiddenActions

From Bohemia Interactive Community
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.22.

Description

Description:
This command is a work in progress and can evolve until release on stable branch.
Getter for hideActions, see also shownAction.
Groups:
Interaction

Syntax

Syntax:
hiddenActions filter
Parameters:
filter: Array - Array of Numbers - actions to check if hidden or [] to check all. See shownAction for numbers meaning
Return Value:
Array - Array of Numbers - actions that are hidden or [] if none is hidden. See shownAction for numbers meaning

Examples

Example 1:
if (hiddenActions [] isEqualTo []) then { hint "No actions have been harmed during script execution" };
Example 2:
if (hiddenActions [91] isEqualTo [91]) then { hint "User actions have been hidden" };
Example 3:
hiddenActions []; // [2] - GetInDriver is hidden
Example 4:
hiddenActions [1, 2, 4]; // [1,4] - from GetInCommander/Driver/Gunner only Commander and Gunner are hidden

Additional Information

See also:
hideActions shownAction visibleMap shownGPS shownWatch shownCompass shownUAVFeed shownHUD addAction action isActionMenuVisible

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note