actionParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 34: Line 34:
| [[Array]] (or, prior to Arma 3 v1.93.145625, [[Nothing]] if action doesn't exist)
| [[Array]] (or, prior to Arma 3 v1.93.145625, [[Nothing]] if action doesn't exist)
|x1= <code>_params = [[player]] [[actionParams]] 0;</code>
|x1= <code>_params = [[player]] [[actionParams]] 0;</code>
| [[actionIDs]], [[addAction]], [[setUserActionText]], [[inGameUISetEventHandler]], [[showHUD]], [[inputAction]], [[removeAction]], [[removeAllActions]], [[action]]
|seealso= [[actionIDs]], [[addAction]], [[setUserActionText]], [[inGameUISetEventHandler]], [[showHUD]], [[inputAction]], [[removeAction]], [[removeAllActions]], [[action]]
}}
}}


<dl class='command_description'>
<dl class='command_description'>
</dl>
</dl>

Revision as of 00:19, 17 February 2021

Hover & click on the images for description

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:
Return value needed

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