Added "airbase strike" OCA mission objective

This commit is contained in:
Ambroise Garel
2025-09-16 12:16:58 +02:00
parent 404095967d
commit 4f1ad38eeb
4 changed files with 52 additions and 3 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ do
return
end
if obj.isSceneryTarget then
if obj.isAirbaseTarget or obj.isSceneryTarget then
TUM.radio.playForCoalition(TUM.settings.getPlayerCoalition(), "jtacSmokeOK", { jtacName[index], smokeColorName }, jtacName[index], true, spawnSmoke, { point3 = obj.point3, smokeColor = smokeColor })
else
for _,id in ipairs(obj.unitsID) do