BIS fnc scriptedMove: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
m (Text replacement - "{{Inline code|" to "{{ic|") |
||
Line 15: | Line 15: | ||
|p2= waypoints: [[Array]] of [[Position|Positions]] | |p2= waypoints: [[Array]] of [[Position|Positions]] | ||
|p3= code: [[Code]] - (Optional, default {{ | |p3= code: [[Code]] - (Optional, default {{ic|<nowiki>{}</nowiki>}}) code to run after waypoint completion | ||
|p4= walkAnim: [[String]] - (Optional, default "AmovPercMwlkSnonWnonDf") | |p4= walkAnim: [[String]] - (Optional, default "AmovPercMwlkSnonWnonDf") |
Revision as of 18:10, 27 February 2021
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