Closed 1ForeverHD closed 3 years ago
enum = Zone.enum.EnumName.EnumMember
zone.enterDetection = Zone.enum.Detection.Automatic
zone.exitDetection = Zone.enum.Detection.Automatic
zone._currentEnterDetection = zone.enterDetection
zone._currentExitDetection = zone.enterDetection
zone:setDetection(detectionName, enterOrExitOrBoth)
enum = Zone.enum.EnumName.EnumMember
zone.enterDetection = Zone.enum.Detection.Automatic
zone.exitDetection = Zone.enum.Detection.Automatic
zone._currentEnterDetection = zone.enterDetection
zone._currentExitDetection = zone.enterDetection
zone:setDetection(detectionName, enterOrExitOrBoth)