Warehouse v0.4.0

Added some onevent functions for AI_CARGO
Added start command for CONTROLLER
This commit is contained in:
funkyfranky
2018-09-09 22:04:31 +02:00
parent 7c3a8f448c
commit 53ac9ca500
2 changed files with 36 additions and 3 deletions

View File

@@ -611,6 +611,14 @@ function CONTROLLABLE:CommandStopRoute( StopRoute )
end
--- Give an uncontrolled air controllable the start command.
-- @param #CONTROLLABLE self
-- @return #CONTROLLABLE self
function CONTROLLABLE:StartUncontrolled()
self:SetCommand({id='Start', params={}})
return self
end
-- TASKS FOR AIR CONTROLLABLES