From dfe2ed2a9874d6d7cd6dd58d6a9f51d2169b6249 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Tue, 29 Oct 2024 13:57:21 +0100 Subject: [PATCH 1/2] #EVENT - Fix for TgtUnit Name being unobtainable --- Moose Development/Moose/Core/Event.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Moose Development/Moose/Core/Event.lua b/Moose Development/Moose/Core/Event.lua index bb9c9941c..9ae9d6d28 100644 --- a/Moose Development/Moose/Core/Event.lua +++ b/Moose Development/Moose/Core/Event.lua @@ -1474,6 +1474,7 @@ function EVENT:onEvent( Event ) --- Event.TgtDCSUnit = Event.target Event.TgtDCSUnitName = Event.TgtDCSUnit:getName() + if Event.TgtDCSUnitName==nil then return end Event.TgtUnitName = Event.TgtDCSUnitName Event.TgtUnit = SCENERY:Register( Event.TgtDCSUnitName, Event.target ) Event.TgtCategory = Event.TgtDCSUnit:getDesc().category From 1445ef61a0c23d5160d236b40290b9651603afdd Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Wed, 30 Oct 2024 17:09:38 +0100 Subject: [PATCH 2/2] #AIRBASE - added bases from 2.9.9.2280 --- Moose Development/Moose/Wrapper/Airbase.lua | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Moose Development/Moose/Wrapper/Airbase.lua b/Moose Development/Moose/Wrapper/Airbase.lua index 21cf26938..8ba7fbc25 100644 --- a/Moose Development/Moose/Wrapper/Airbase.lua +++ b/Moose Development/Moose/Wrapper/Airbase.lua @@ -253,6 +253,9 @@ AIRBASE.Nevada = { -- * AIRBASE.Normandy.Villacoublay -- * AIRBASE.Normandy.Vrigny -- * AIRBASE.Normandy.West_Malling +-- * AIRBASE.Normandy.Eastchurch +-- * AIRBASE.Normandy.Headcorn +-- * AIRBASE.Normandy.Hawkinge -- -- @field Normandy AIRBASE.Normandy = { @@ -335,6 +338,9 @@ AIRBASE.Normandy = { ["Villacoublay"] = "Villacoublay", ["Vrigny"] = "Vrigny", ["West_Malling"] = "West Malling", + ["Eastchurch"] = "Eastchurch", + ["Headcorn"] = "Headcorn", + ["Hawkinge"] = "Hawkinge", } --- Airbases of the Persion Gulf Map: @@ -503,6 +509,10 @@ AIRBASE.TheChannel = { -- * AIRBASE.Syria.Tha_lah -- * AIRBASE.Syria.Tiyas -- * AIRBASE.Syria.Wujah_Al_Hajar +-- * AIRBASE.Syria.Ben_Gurion +-- * AIRBASE.Syria.Hatzor +-- * AIRBASE.Syria.Palmashim +-- * AIRBASE.Syria.Tel_Nof -- --@field Syria AIRBASE.Syria={ @@ -572,6 +582,10 @@ AIRBASE.Syria={ ["Tha_lah"] = "Tha'lah", ["Tiyas"] = "Tiyas", ["Wujah_Al_Hajar"] = "Wujah Al Hajar", + ["Ben_Gurion"] = "Ben Gurion", + ["Hatzor"] = "Hatzor", + ["Palmashim"] = "Palmashim", + ["Tel_Nof"] = "Tel Nof", } --- Airbases of the Mariana Islands map: @@ -775,7 +789,9 @@ AIRBASE.Sinai = { -- * AIRBASE.Kola.Severomorsk_3 -- * AIRBASE.Kola.Vidsel -- * AIRBASE.Kola.Vuojarvi --- +-- * AIRBASE.Kola.Andoya +-- * AIRBASE.Kola.Alakourtti +-- -- @field Kola AIRBASE.Kola = { ["Banak"] = "Banak", @@ -796,6 +812,8 @@ AIRBASE.Kola = { ["Severomorsk_3"] = "Severomorsk-3", ["Vidsel"] = "Vidsel", ["Vuojarvi"] = "Vuojarvi", + ["Andoya"] = "Andoya", + ["Alakourtti"] = "Alakourtti", } --- Airbases of the Afghanistan map