#CSAR - Enforce pilot names on AI for saving

#SPAWN - Added use of CALLSIGN.Intruder for random callsigns of the A-6E
This commit is contained in:
Applevangelist
2025-12-29 12:35:03 +01:00
parent d000ad76f8
commit b31b11cda8
2 changed files with 12 additions and 2 deletions
+5
View File
@@ -3521,6 +3521,11 @@ function SPAWN:_Prepare( SpawnTemplatePrefix, SpawnIndex ) -- R2.2
max = 18
ctable = CALLSIGN.F15E
end
if SpawnTemplate.units[1].type == "A6E" then
min = 4
max = 18
ctable = CALLSIGN.Intruder
end
local callsignnr = math.random(min,max)
local callsignname = "Enfield"
for name, value in pairs(ctable) do