BIS fnc moveAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Object Manipulation
|gr1= Object Manipulation


| Return current move action (used in [[playAction]], [[playActionNow]] and [[switchAction]])
|descr= Return current move action (used in [[playAction]], [[playActionNow]] and [[switchAction]])


Parameter(s):
Parameter(s):

Revision as of 21:48, 13 June 2021

Hover & click on the images for description

Description

Description:
Return current move action (used in playAction, playActionNow and switchAction) Parameter(s): 0: OBJECT 1 (Optional): BOOL - true to return config path of the action, false to return just the action name (default: false) Returns: STRING or ARRAY
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