actionParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=") |
||
Line 32: | Line 32: | ||
|p2= id: [[Number]] - id of existing user action (returned by [[addAction]] or [[actionIDs]]) | |p2= id: [[Number]] - id of existing user action (returned by [[addAction]] or [[actionIDs]]) | ||
| [[Array]] (or, prior to Arma 3 v1.94, [[Nothing]] if action doesn't exist) | |r1= [[Array]] (or, prior to Arma 3 v1.94, [[Nothing]] if action doesn't exist) | ||
|x1= <code>_params = [[player]] [[actionParams]] 0;</code> | |x1= <code>_params = [[player]] [[actionParams]] 0;</code> | ||
|seealso= [[actionIDs]], [[addAction]], [[setUserActionText]], [[inGameUISetEventHandler]], [[showHUD]], [[inputAction]], [[removeAction]], [[removeAllActions]], [[action]] | |seealso= [[actionIDs]], [[addAction]], [[setUserActionText]], [[inGameUISetEventHandler]], [[showHUD]], [[inputAction]], [[removeAction]], [[removeAllActions]], [[action]] | ||
}} | }} |
Revision as of 13:21, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Interaction
Syntax
- Syntax:
- Syntax needed
- Parameters:
- entity: Object - entity with added user actions
- id: Number - id of existing user action (returned by addAction or actionIDs)
- Return Value:
- Array (or, prior to Arma 3 v1.94, Nothing if action doesn't exist)
Examples
- Example 1:
_params = player actionParams 0;
Additional Information
- See also:
- actionIDsaddActionsetUserActionTextinGameUISetEventHandlershowHUDinputActionremoveActionremoveAllActionsaction
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