BIS fnc moveAction: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
||
Line 26: | Line 26: | ||
_actionConfig = [<nowiki/>[[player]], [[true]]] [[call]] [[BIS_fnc_moveAction]];</code> | _actionConfig = [<nowiki/>[[player]], [[true]]] [[call]] [[BIS_fnc_moveAction]];</code> | ||
|seealso= [[playAction]] [[playActionNow]] [[switchAction]] [[playMove]] | |seealso= [[playAction]] [[playActionNow]] [[switchAction]] [[playMove]] [[switchMove]] | ||
}} | }} |
Revision as of 13:00, 1 July 2022
Description
- Description:
- Return current move action (used in playAction, playActionNow and switchAction) Parameter(s): 0: OBJECT 1 (Optional): BOOL - true to return config path of the action, false to return just the action name (default: false) Returns: STRING or ARRAY
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- [unit, returnConfig] call BIS_fnc_moveAction
- Parameters:
- unit: Object
- returnConfig: Boolean - true to return action config path, false to return the action name
- Return Value:
- Config or String - depends on returnConfig
Examples
- Example 1:
_actionName = [player, false] call BIS_fnc_moveAction; _actionConfig = [player, true] call BIS_fnc_moveAction;
Additional Information
- See also:
- playAction playActionNow switchAction playMove switchMove
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