actionIDs: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.64 | |1.64 | ||
|arg= global |Arguments in MP= | |arg= global |Arguments in MP= | ||
Line 9: | Line 9: | ||
|eff= local |Effects in MP= | |eff= local |Effects in MP= | ||
|gr1= Interaction | |gr1= Interaction | ||
| Returns [[Array]] of [[Number]]s, where numbers are IDs of all user actions added to given entity with [[addAction]] command. | | Returns [[Array]] of [[Number]]s, where numbers are IDs of all user actions added to given entity with [[addAction]] command. | ||
| [[actionIDs]] entity | | [[actionIDs]] entity | ||
|p1= entity: [[Object]] - entity with added user actions | |p1= entity: [[Object]] - entity with added user actions | ||
| [[Array]] - Array with user action IDs | | [[Array]] - Array with user action IDs | ||
|x1= <code>_actions = [[actionIDs]] [[player]];</code> | |x1= <code>_actions = [[actionIDs]] [[player]];</code> | ||
| [[actionParams]], [[addAction]], [[setUserActionText]], [[inGameUISetEventHandler]], [[showHUD]], [[inputAction]], [[removeAction]], [[removeAllActions]], [[action]] | | [[actionParams]], [[addAction]], [[setUserActionText]], [[inGameUISetEventHandler]], [[showHUD]], [[inputAction]], [[removeAction]], [[removeAllActions]], [[action]] | ||
| |MPBEHAVIOUR = | | |MPBEHAVIOUR = |
Revision as of 00:03, 18 January 2021
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
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