BIS fnc moveAction: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Object Manipulation |GROUP1=") |
Lou Montana (talk | contribs) 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 23:28, 16 January 2021
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
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