This commit is contained in:
Applevangelist
2024-06-23 19:15:57 +02:00
parent 7bb5e324f9
commit f15e89e7aa
2 changed files with 71 additions and 3 deletions

View File

@@ -604,6 +604,14 @@ function OPSZONE:GetAttackDuration()
return nil
end
--- Find an OPSZONE using the Zone Name.
-- @param #OPSZONE self
-- @param #string ZoneName The zone name.
-- @return #OPSZONE The OPSZONE or nil if not found.
function OPSZONE:FindByName( ZoneName )
local Found = _DATABASE:FindOpsZone( ZoneName )
return Found
end
--- Check if the red coalition is currently owning the zone.
-- @param #OPSZONE self