BIS fnc scriptedMove: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
Lou Montana (talk | contribs) m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>") |
||
Line 25: | Line 25: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[myUnit, <nowiki | |x1= <code>[myUnit, [<nowiki/>[[getMarkerPos]] "wp1", [[getMarkerPos]] "wp2", [[getMarkerPos]] "wp3"]] [[call]] [[BIS_fnc_scriptedMove]];</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 12:03, 19 March 2020
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