#EasyGCICAP

* Added success criteria if intruder leaves monitored zones
This commit is contained in:
Applevangelist
2023-09-27 18:07:34 +02:00
parent 258f9f7bb7
commit 3ea0cc6427
2 changed files with 105 additions and 43 deletions

View File

@@ -190,6 +190,7 @@ end
-- @param Core.Point#COORDINATE Coordinate The coordinate to test.
-- @return #boolean true if the coordinate is within the zone.
function ZONE_BASE:IsCoordinateInZone( Coordinate )
if not Coordinate then return false end
local InZone = self:IsVec2InZone( Coordinate:GetVec2() )
return InZone
end