BIS fnc moveAction: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Return current move action (used in [[playAction]], [[playActionNow]] and [[switchAction]]) |Description= | ||
Parameter(s): | Parameter(s): | ||
Line 19: | Line 15: | ||
Returns: | Returns: | ||
STRING or ARRAY | STRING or ARRAY | ||
____________________________________________________________________________________________ | |||
| [unit'', returnConfig''] call [[BIS_fnc_moveAction]] |Syntax= | |||
| | |p1= unit: [[Object]] |Parameter 1= | ||
| | |p2= returnConfig: [[Boolean]] - [[true]] to return action config path, [[false]] to return the action name |Parameter 2= | ||
| | | | [[Config]] or [[String]] - depends on ''returnConfig'' |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>_actionName = <nowiki>[</nowiki>[[player]], [[false]]] [[call]] [[BIS_fnc_moveAction]]; | ||
_actionConfig = <nowiki>[</nowiki>[[player]], [[true]]] [[call]] [[BIS_fnc_moveAction]];</code> |Example 1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[playAction]], [[playActionNow]], [[switchAction]], [[playMove]], [[switchMove]] |See also= | ||
}} | }} | ||
Line 46: | Line 41: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:moveAction}}]] | |||
[[Category:Function Group: Misc|{{uc:moveAction}}]] | [[Category:Function Group: Misc|{{uc:moveAction}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:moveAction}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:moveAction}}]] |
Revision as of 10:39, 6 June 2018
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
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