actionIDs: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
|p1= entity: [[Object]] - entity with added user actions | |p1= entity: [[Object]] - entity with added user actions | ||
|r1= [[Array]] - | |r1= [[Array]] - array with user action IDs | ||
|x1= < | |x1= <sqf>_actions = actionIDs player;</sqf> | ||
|seealso= [[actionParams]] [[addAction]] [[setUserActionText]] [[inGameUISetEventHandler]] [[showHUD]] [[inputAction]] [[removeAction]] [[removeAllActions]] [[action]] | |seealso= [[actionParams]] [[addAction]] [[setUserActionText]] [[inGameUISetEventHandler]] [[showHUD]] [[inputAction]] [[removeAction]] [[removeAllActions]] [[action]] | ||
}} | }} | ||
Line 25: | Line 25: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <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> |
Latest revision as of 12:40, 8 November 2023
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:
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