actionIDs: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - ">Posted on April ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-04-$1") |
Lou Montana (talk | contribs) m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2") |
||
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= <sqf>_actions = actionIDs player;</sqf> | |x1= <sqf>_actions = actionIDs player;</sqf> |
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