BIS fnc moveAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Object Manipulation |GROUP1=")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Object Manipulation |GROUP1=
|gr1 = Object Manipulation |GROUP1=
____________________________________________________________________________________________


| Return current move action (used in [[playAction]], [[playActionNow]] and [[switchAction]]) |Description=
| Return current move action (used in [[playAction]], [[playActionNow]] and [[switchAction]]) |Description=
Line 17: Line 15:
Returns:
Returns:
STRING or ARRAY
STRING or ARRAY
____________________________________________________________________________________________


| [unit'', returnConfig''] call [[BIS_fnc_moveAction]] |Syntax=
| [unit'', returnConfig''] call [[BIS_fnc_moveAction]] |Syntax=
Line 26: Line 23:


| [[Config]] or [[String]] - depends on ''returnConfig'' |Return value=
| [[Config]] or [[String]] - depends on ''returnConfig'' |Return value=
____________________________________________________________________________________________


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


| [[playAction]], [[playActionNow]], [[switchAction]], [[playMove]], [[switchMove]] |See also=
| [[playAction]], [[playActionNow]], [[switchAction]], [[playMove]], [[switchMove]] |See also=

Revision as of 00:28, 17 January 2021

Hover & click on the images for description

Description

Description:
Return current move action (used in playAction, playActionNow and switchAction)
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

Notes

Bottom Section