Inferno, airtank added
This commit is contained in:
Christian Franz
2024-09-12 08:16:14 +02:00
parent d205e79741
commit bfb24bf074
9 changed files with 87 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
sittingDucks = {}
sittingDucks.verbose = false
sittingDucks.version = "1.0.0"
sittingDucks.version = "1.0.1"
sittingDucks.ssbDisabled = 100 -- must match the setting of SSB, usually 100
sittingDucks.resupplyTime = -1 -- seconds until "reinforcements" reopen the slot, set to -1 to turn off, 3600 is one hour
sittingDucks.requiredLibs = {
@@ -8,6 +8,15 @@ sittingDucks.requiredLibs = {
"cfxZones",
"stopGap",
}
--[[
Version History
1.0.0 Initial Version
1.0.1 DCS releases 2024-jul-11 and 2024-jul-22 bugs hardening
--]]--
--
-- Destroying a client stand-in on an airfield will block that
-- Slot for players. Multiplayer only
@@ -28,6 +37,7 @@ function sittingDucks:onEvent(event)
-- home in on the kill event
if event.id == 8 then -- dead event
local theUnit = event.initiator
if not theUnit.getName then return end -- dcs jul-11 and jul-22 bugs
local deadName = theUnit:getName()
if not deadName then return end
-- look at stopGap's collection of stand-ins