Version 1.1.8

useHeading for linkedZones and cloner
This commit is contained in:
Christian Franz
2022-10-27 06:34:18 +02:00
parent 5ec26aaaf1
commit da1abe4e6b
6 changed files with 139 additions and 96 deletions

View File

@@ -58,6 +58,7 @@ guardianAngel.requiredLibs = {
- Supporst cloned units
- removed legacy code
3.0.2 - added guardianAngel.name for those who use local flags on activate
3.0.3 - monitorItem() guards against loss of target (nil)
This script detects missiles launched against protected aircraft an
@@ -243,7 +244,7 @@ function guardianAngel.monitorItem(theItem)
-- this can happen with any missile, even threat missiles,
-- so do this always!
local ctName = nil
if currentTarget then
if currentTarget and Object.isExist(currentTarget) then
-- get current name to check against last target name
ctName = currentTarget:getName()
else