actionIDs: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 11: | Line 10: | ||
|gr1= Interaction |GROUP1= | |gr1= Interaction |GROUP1= | ||
| Returns [[Array]] of [[Number]]s, where numbers are IDs of all user actions added to given entity with [[addAction]] command. |Description= | | Returns [[Array]] of [[Number]]s, where numbers are IDs of all user actions added to given entity with [[addAction]] command. |Description= | ||
| [[actionIDs]] entity |Syntax= | | [[actionIDs]] entity |Syntax= | ||
Line 21: | Line 18: | ||
| [[Array]] - Array with user action IDs |Return Value= | | [[Array]] - Array with user action IDs |Return Value= | ||
|x1= <code>_actions = [[actionIDs]] [[player]];</code> |Example 1= | |x1= <code>_actions = [[actionIDs]] [[player]];</code> |Example 1= | ||
| [[actionParams]], [[addAction]], [[setUserActionText]], [[inGameUISetEventHandler]], [[showHUD]], [[inputAction]], [[removeAction]], [[removeAllActions]], [[action]]|See Also= | | [[actionParams]], [[addAction]], [[setUserActionText]], [[inGameUISetEventHandler]], [[showHUD]], [[inputAction]], [[removeAction]], [[removeAllActions]], [[action]]|See Also= | ||
| |MPBEHAVIOUR = | | |MPBEHAVIOUR = | ||
}} | }} | ||
Revision as of 00:06, 17 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