mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2026-08-19 13:45:18 +00:00
Added "infantry killed" radio messages
This commit is contained in:
@@ -165,8 +165,11 @@ do
|
||||
killMessage = "pilotKillAir"
|
||||
killUnitType = Library.objectNames.get(event.target) -- Report exact unit type for aircraft
|
||||
elseif targetDesc.category == Unit.Category.GROUND_UNIT then
|
||||
if event.target:hasAttribute("Infantry") then return end -- No kill message for infantry (yet?)
|
||||
killMessage = "pilotKillGround"
|
||||
if event.target:hasAttribute("Infantry") then
|
||||
killMessage = "pilotKillInfantry"
|
||||
else
|
||||
killMessage = "pilotKillGround"
|
||||
end
|
||||
elseif targetDesc.category == Unit.Category.SHIP then
|
||||
killMessage = "pilotKillShip"
|
||||
elseif targetDesc.category == Unit.Category.STRUCTURE then
|
||||
|
||||
Reference in New Issue
Block a user