actionParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
m (Text replacement - "v1\.93\.[0-9]{6}" to "v1.94") |
||
Line 24: | Line 24: | ||
* memoryPoint: [[String]] - memory point on the object to which the action is attached | * memoryPoint: [[String]] - memory point on the object to which the action is attached | ||
Since Arma 3 v1. | Since Arma 3 v1.94 if object is null or the action doesn't exist, default array of params is returned:<br> | ||
<tt>["","",<null>,1.5,true,true,"","",50,false,"","","",""]</tt> | <tt>["","",<null>,1.5,true,true,"","",50,false,"","","",""]</tt> | ||
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. | | [[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 10:21, 3 April 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:
- 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