calculatePath: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ | arma3dev |Game= |1.93|Game Version =(number surrounded by NO SPACE...") |
m (see also) |
||
Line 34: | Line 34: | ||
|mp= - |Multiplayer Behaviour= | |mp= - |Multiplayer Behaviour= | ||
| |See Also= | | [[setDriveOnPath]] |See Also= | ||
}} | }} | ||
Revision as of 20:59, 19 April 2019
Description
- Description:
- calculatePath [startCoordinates, endCoordinates, typeName, behaviour]
- Multiplayer:
- -
- Groups:
- Uncategorised
Syntax
- Syntax:
- SYNTAX
- Parameters:
- startCoordinates: Array - Start position in [x,y,z]
- endCoordinates: Array - End position in [x,y,z]
- typeName: String - Vehicle type to simulate. One of ("helicopter", "plane", "man", "car', "wheeled_APC", "tank", "boat")
- behavior: String - AI behaviour. one of ("CARELESS", "SAFE", "AWARE", "COMBAT" and "STEALTH")
- Return Value:
- Array [waypoint1, waypoint2,...]
Examples
- Example 1:
calculatePath ["car","safe",[2150.67,5778.19,0],[2184.11,5802.28,0]]
Additional Information
- See also:
- setDriveOnPath
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
[[Category:Introduced with arma3dev version 1.93]][[ Category: arma3dev: New Scripting Commands | CALCULATEPATH]][[ Category: arma3dev: Scripting Commands | CALCULATEPATH]]