BIS fnc moveAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Return current move action (used in [[playAction]], [[playActionNow]] and [[switchAction]]) |Description=
 
Description:
Return current move action (used in playAction, playActionNow and switchAction)


Parameter(s):
Parameter(s):
Line 19: Line 15:
Returns:
Returns:
STRING or ARRAY
STRING or ARRAY
*/
____________________________________________________________________________________________


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [unit'', returnConfig''] call [[BIS_fnc_moveAction]] |Syntax=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_moveAction]]; --> |= Syntax
|p1= unit: [[Object]] |Parameter 1=


|p1= |= Parameter 1
|p2= returnConfig: [[Boolean]] - [[true]] to return action config path, [[false]] to return the action name |Parameter 2=


| |= Return value
| [[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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[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:Functions|{{uc:moveAction}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:moveAction}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:moveAction}}]]

Revision as of 10:39, 6 June 2018

Hover & click on the images for description

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

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