BIS fnc moveAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>")
Line 26: Line 26:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>_actionName  = <nowiki>[</nowiki>[[player]], [[false]]] [[call]] [[BIS_fnc_moveAction]];
|x1= <code>_actionName  = [<nowiki/>[[player]], [[false]]] [[call]] [[BIS_fnc_moveAction]];
_actionConfig = <nowiki>[</nowiki>[[player]],  [[true]]] [[call]] [[BIS_fnc_moveAction]];</code> |Example 1=
_actionConfig = [<nowiki/>[[player]],  [[true]]] [[call]] [[BIS_fnc_moveAction]];</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:49, 19 March 2020

Hover & click on the images for description

Description

Description:
Return current move action (used in playAction, playActionNow and switchAction)
Execution:
call
Groups:
Uncategorised

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:
playActionplayActionNowswitchActionplayMoveswitchMove

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

Notes

Bottom Section