{"name":"BIS_fnc_moveAction","title":"BIS fnc moveAction","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_moveAction","revid":327869,"updated":"2022-07-13T11:36:50Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Return current move action (used in playAction, playActionNow and switchAction)","syntaxes":[{"syntax":"[unit, returnConfig] call BIS_fnc_moveAction","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"returnConfig","type":"Boolean","optional":true,"default":"false","description":"true to return action config path, false to return the action name","type_expr":"Boolean","text":"returnConfig: Boolean - (Optional, default false) true to return action config path, false to return the action name"}],"returns":{"type":"Config or String","type_expr":"Config | String","description":"depends on returnConfig","text":"Config or String - depends on *returnConfig*"}}],"examples":[{"text":"```sqf\n_actionName        = [player, false] call BIS_fnc_moveAction;\n_actionConfig    = [player,  true] call BIS_fnc_moveAction;\n```","code":["_actionName\t\t= [player, false] call BIS_fnc_moveAction;\n_actionConfig\t= [player,  true] call BIS_fnc_moveAction;"]}],"see_also":["playAction","playActionNow","switchAction","playMove","switchMove"]}