actionIDs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on April 22, 2018 - 14:19 (UTC)</dd>
<dt class="note">[[User:KC Grimes|KC Grimes]]</dt>
<dd class="note">The argument for this command can be global (ie, not local to the executing machine), however the returned array will only contain action IDs for locally executed [[addAction]].</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 16:19, 22 April 2018

Hover & click on the images for description

Description

Description:
Returns Array of Numbers, where numbers are IDs of all user actions added to given entity with addAction command.
Groups:
Uncategorised

Syntax

Syntax:
actionIDs entity
Parameters:
entity: Object - entity with added user actions
Return Value:
Array - Array with user action IDs

Examples

Example 1:
_actions = actionIDs player;

Additional Information

See also:
actionParamsaddActionsetUserActionTextinGameUISetEventHandlershowHUDinputActionremoveActionremoveAllActionsaction

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

Notes

Bottom Section

Posted on April 22, 2018 - 14:19 (UTC)
KC Grimes
The argument for this command can be global (ie, not local to the executing machine), however the returned array will only contain action IDs for locally executed addAction.