mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
feat(map): added an option to show human controlled unit original callsign
This commit is contained in:
@@ -1074,6 +1074,8 @@ function Olympus.setUnitsData(arg, time)
|
||||
else
|
||||
table["unitName"] = unit:getName()
|
||||
end
|
||||
-- In case of AI units the callSign and the unitName will be the same
|
||||
table["callsign"] = unit:getName()
|
||||
table["groupName"] = group:getName()
|
||||
table["isHuman"] = (unit:getPlayerName() ~= nil)
|
||||
table["hasTask"] = controller:hasTask()
|
||||
|
||||
Reference in New Issue
Block a user