mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Debugs
This commit is contained in:
@@ -1613,7 +1613,7 @@ function AWACS:_NewRadioEntry(TextTTS, TextScreen,GID,IsGroup,ToScreen,IsNew,Fro
|
|||||||
local RadioEntry = {} -- #AWACS.RadioEntry
|
local RadioEntry = {} -- #AWACS.RadioEntry
|
||||||
RadioEntry.IsNew = IsNew
|
RadioEntry.IsNew = IsNew
|
||||||
RadioEntry.TextTTS = TextTTS
|
RadioEntry.TextTTS = TextTTS
|
||||||
RadioEntry.TextScreen = TextScreen
|
RadioEntry.TextScreen = TextScreen or TextTTS
|
||||||
RadioEntry.GroupID = GID
|
RadioEntry.GroupID = GID
|
||||||
RadioEntry.ToScreen = ToScreen
|
RadioEntry.ToScreen = ToScreen
|
||||||
RadioEntry.Duration = STTS.getSpeechTime(TextTTS,0.95,false) or 8
|
RadioEntry.Duration = STTS.getSpeechTime(TextTTS,0.95,false) or 8
|
||||||
|
|||||||
@@ -2177,7 +2177,7 @@ end
|
|||||||
-- @return #PLAYERTASKCONTROLLER self
|
-- @return #PLAYERTASKCONTROLLER self
|
||||||
function PLAYERTASKCONTROLLER:_EventHandler(EventData)
|
function PLAYERTASKCONTROLLER:_EventHandler(EventData)
|
||||||
self:T(self.lid.."_EventHandler: "..EventData.id)
|
self:T(self.lid.."_EventHandler: "..EventData.id)
|
||||||
self:T(self.lid.."_EventHandler: "..EventData.IniPlayerName)
|
--self:T(self.lid.."_EventHandler: "..EventData.IniPlayerName)
|
||||||
if EventData.id == EVENTS.PlayerLeaveUnit or EventData.id == EVENTS.Ejection or EventData.id == EVENTS.Crash or EventData.id == EVENTS.PilotDead then
|
if EventData.id == EVENTS.PlayerLeaveUnit or EventData.id == EVENTS.Ejection or EventData.id == EVENTS.Crash or EventData.id == EVENTS.PilotDead then
|
||||||
if EventData.IniPlayerName then
|
if EventData.IniPlayerName then
|
||||||
self:T(self.lid.."Event for player: "..EventData.IniPlayerName)
|
self:T(self.lid.."Event for player: "..EventData.IniPlayerName)
|
||||||
|
|||||||
Reference in New Issue
Block a user