mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
ARTY v1.1.6
- Check that arty unit is not dead when addressed via marker
This commit is contained in:
parent
169c5a674c
commit
e16e2851c1
@ -693,7 +693,7 @@ ARTY.db={
|
|||||||
|
|
||||||
--- Arty script version.
|
--- Arty script version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
ARTY.version="1.1.5"
|
ARTY.version="1.1.6"
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -2555,6 +2555,13 @@ function ARTY:_OnEventMarkChange(Event)
|
|||||||
if not _assigned then
|
if not _assigned then
|
||||||
self:T3(self.lid..string.format("INFO: ARTY group %s was not addressed! Mark text:\n%s", self.groupname, Event.text))
|
self:T3(self.lid..string.format("INFO: ARTY group %s was not addressed! Mark text:\n%s", self.groupname, Event.text))
|
||||||
return
|
return
|
||||||
|
else
|
||||||
|
if self.Controllable and self.Controllable:IsAlive() then
|
||||||
|
|
||||||
|
else
|
||||||
|
self:T3(self.lid..string.format("INFO: ARTY group %s was addressed but is NOT alive! Mark text:\n%s", self.groupname, Event.text))
|
||||||
|
return
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Coordinate was given in text, e.g. as lat, long.
|
-- Coordinate was given in text, e.g. as lat, long.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user