Add Controller.Detection and knowTarget.

Add Spot (laser).
Various minor improvements
This commit is contained in:
omltcat
2024-06-24 01:47:56 -04:00
parent 8b7b276480
commit 5f4f565b72
6 changed files with 91 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
---@class Controller
Controller = {}
---@enum Controller.Detection
Controller.Detection = {
VISUAL = 1,
OPTIC = 2,
@@ -54,3 +55,10 @@ function Controller:setSpeed(speed, keep) end
---[Available Tasks](https://wiki.hoggitworld.com/view/DCS_func_setTask)
---@param task table -- The task to be set.
function Controller:setTask(task) end
---Forces the controller to become aware of the specified target, without the controller manually detecting the object itself.<br>
---Applies only to a Unit Controller. Cannot be used at the group level.
---@param target Object
---@param knowType boolean
---@param knowDistance boolean
function Controller:knowTarget(target, knowType, knowDistance) end