mirror of
https://github.com/omltcat/dcs-lua-definitions.git
synced 2025-11-10 15:48:52 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user