Add more trigger words.

Add Controller:hasTask.
Add function net.load_mission, net.load_next_mission, net.get_stat, net.send_chat, net.send_chat_to
Add id_ field for all object
Add Unit:enableEmission, Unit:getDescentCapacity, Unit:getNearestCargos
This commit is contained in:
omltcat
2024-07-07 16:33:20 -04:00
parent 5f4f565b72
commit 677d9a99aa
5 changed files with 91 additions and 3 deletions

View File

@@ -12,6 +12,10 @@ Controller.Detection = {
DLINK = 32
}
---Returns true if the controller currently has a task.
---@return boolean
function Controller:hasTask() end
---Pushes the specified task to the front of the tasking queue. If no other tasks are currently active it will function effectively the same as `Controller.setTask()`.<br>
---[Available Tasks](https://wiki.hoggitworld.com/view/DCS_func_pushTask)
---@param task table -- The task to be pushed to the front of the queue.