BIS fnc moveAction: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|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]]) | ||
|s1=[unit | |s1= [unit, returnConfig] call [[BIS_fnc_moveAction]] | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|p2= returnConfig: [[Boolean]] - [[true]] to return action config path, [[false]] to return the action name | |p2= returnConfig: [[Boolean]] - (Optional, default [[false]]) [[true]] to return action config path, [[false]] to return the action name | ||
|r1=[[Config]] or [[String]] - depends on ''returnConfig'' | |r1= [[Config]] or [[String]] - depends on ''returnConfig'' | ||
|x1= < | |x1= <sqf> | ||
_actionConfig = | _actionName = [player, false] call BIS_fnc_moveAction; | ||
_actionConfig = [player, true] call BIS_fnc_moveAction; | |||
</sqf> | |||
|seealso= [[playAction]] | |seealso= [[playAction]] [[playActionNow]] [[switchAction]] [[playMove]] [[switchMove]] | ||
}} | }} |
Latest revision as of 12:36, 13 July 2022
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 - (Optional, default false) true to return action config path, false to return the action name
- Return Value:
- Config or String - depends on returnConfig
Examples
- Example 1:
Additional Information
- See also:
- playAction playActionNow switchAction playMove switchMove
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