Player reports

This commit is contained in:
FlightControl
2017-05-27 09:57:38 +02:00
parent a522568a60
commit 8157d7a8d0
3 changed files with 49 additions and 24 deletions

View File

@@ -146,7 +146,9 @@ function COMMANDCENTER:New( CommandCenterPositionable, CommandCenterName )
local Mission = Mission -- Tasking.Mission#MISSION
local PlayerGroup = EventData.IniGroup -- The GROUP object should be filled!
Mission:JoinUnit( PlayerUnit, PlayerGroup )
Mission:ReportDetails( PlayerGroup )
local MissionReport = Mission:ReportDetails( PlayerGroup )
self:MessageToGroup( MissionReport, PlayerGroup )
end
end
)