BIS fnc scriptedMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>")
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 40: Line 40:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:scriptedMove}}]]
[[Category:Functions|{{uc:scriptedMove}}]]
[[Category:Function Group: Misc|{{uc:scriptedMove}}]]
 
[[Category:{{Name|arma2oa}}: Functions|{{uc:scriptedMove}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:scriptedMove}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:scriptedMove}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:scriptedMove}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:scriptedMove}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:scriptedMove}}]]

Revision as of 10:04, 10 October 2020

Hover & click on the images for description

Description

Description:
Force a unit to turn towards and walk to
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[unit, waypoints, code, walkAnim, animLength] call BIS_fnc_scriptedMove
Parameters:
unit: Object
waypoints: Array of Positions
code: Code - (Optional, default {}) code to run after waypoint completion
walkAnim: String - (Optional, default "AmovPercMwlkSnonWnonDf")
animLength: Number - (not optional if walkAnim is defined)
Return Value:
Script Handle

Examples

Example 1:
[myUnit, [getMarkerPos "wp1", getMarkerPos "wp2", getMarkerPos "wp3"]] call BIS_fnc_scriptedMove;

Additional Information

See also:
movesetDriveOnPath

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