mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
#CTLD
* Added connection to PlayerTask/Controller #PLAYERTASK * Added helper functions
This commit is contained in:
@@ -332,6 +332,16 @@ function PLAYERTASK:GetFreetextTTS()
|
||||
return self.FreetextTTS
|
||||
end
|
||||
|
||||
--- [USER] Add a short free text description for the menu entry of this task.
|
||||
-- @param #PLAYERTASK self
|
||||
-- @param #string Text
|
||||
-- @return #PLAYERTASK self
|
||||
function PLAYERTASK:SetMenuName(Text)
|
||||
self:T(self.lid.."SetMenuName")
|
||||
self.Target.name = Text
|
||||
return self
|
||||
end
|
||||
|
||||
--- [User] Check if task is done
|
||||
-- @param #PLAYERTASK self
|
||||
-- @return #boolean done
|
||||
|
||||
Reference in New Issue
Block a user