BIS fnc scriptedMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " +" to " ")
Line 27: Line 27:
|seealso= [[move]], [[setDriveOnPath]]
|seealso= [[move]], [[setDriveOnPath]]
}}
}}


[[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 09:15, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
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:
Return value needed

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