BIS_fnc_moveAction

From Bohemia Interactive Community
Revision as of 00:37, 18 January 2021 by Lou Montana (talk | contribs) (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Jump to navigation Jump to search
Hover & click on the images for description

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

Bottom Section