actionIDs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - ">Posted on April ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-04-$1")
Line 25: Line 25:


<dt></dt>
<dt></dt>
<dd class="notedate">Posted on April 22, 2018 - 14:19 (UTC)</dd>
<dd class="notedate">Posted on 2018-04-22 - 14:19 (UTC)</dd>
<dt class="note">[[User:KC Grimes|KC Grimes]]</dt>
<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>
<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>
</dl>

Revision as of 00:07, 14 May 2023

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:
Interaction

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:
actionParams addAction setUserActionText inGameUISetEventHandler showHUD inputAction removeAction removeAllActions 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
Posted on 2018-04-22 - 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.