Releases: 1ForeverHD/ZonePlus
Releases · 1ForeverHD/ZonePlus
v3.2.0
Added
Zone:onItemEnter(characterOrBasePart, callbackFunction)Zone:onItemExit(characterOrBasePart, callbackFunction)- An error warning when a zone is constructed using parts that don't belong to the Default collision group
- Support for non-basepart HeadParts
Changed
- Reorganised checker parts
Fixed
- A bug preventing the disconnection of tracked character parts which resulted in a slight memory leak whenever a player reset or changed bodyparts
v3.1.0
Added
Zone.fromRegion(cframe, size)zone:relocate()- Non-workspace zones are finally a possibility! Simply call this and the zones container will be moved into a WorldModel outside of Workspace.- CollectiveWorldModel module
zone.hasRelocatedpropertyzone.worldModelpropertyzone.relocationContainerpropertyCollectiveWorldModel.setupWorldModel(zone)CollectiveWorldModel:GetPartBoundsInBox(cframe, size, overlapParams)CollectiveWorldModel:GetPartBoundsInRadius(position, radius, overlapParams)- ``CollectiveWorldModel:GetPartsInPart(part, overlapParams)`
Changed
Zone.new(zoneGroup)toZone.new(container)zone.groupproperty tozone.container
Fixed
- "ZoneController hrp is nil" bug
v3.0.0
Added
Zone:trackItem(characterOrBasePart)Zone:untrackItem(characterOrBasePart)Zone.itemEnteredeventZone.itemExitedeventZone:findItem(characterOrBasePart)ZoneController.setGroup(settingsGroupName, properties)ZoneController.getGroup(settingsGroupName)SettingsGroup.onlyEnterOnceExitedAllpropertyZone:bindToGroup(settingsGroupName)Zone:unbindFromGroup(settingsGroupName)Zone.settingsGroupNamepropertyZone:findPoint(position)ZoneController.getCharacterSize(character)
Changed
- Internal behaviour to use the new Spatial Query API instead of the Region3 API.
- The default Detection from
AutomatictoCentre. - The behaviour of Detection
Centreto include the whole HumanoidRootPart instead of a singular Vector within (this was required due to the new Spatial Query API). Zone:findPartnow returns arraytouchingZonePartsas its second value.MaidtoJanitorby howmanysmall.SignaltoGoodSignalby stravant.ZoneController.getTouchingZones(player)toZoneController.getTouchingZones(characterOrBasePart).
Removed
- RotatedRegion3
ZoneController.getCharacterRegionZoneController.verifyTouchingPartsZoneController.vectorIsBetweenYBoundsZoneController.getHeightOfPartsAutomaticDetection Enum.
v2.2.3
Fixed
- The incorrect disabling of Seats and VehicleSeats within Part Zones.
v2.2.2
Improved
- The accounting of character parts when removed/added via systems like HumanoidDescriptions.
v2.2.1
Added
- Compatibility for Deferred Events
v2.1.3
Fixed
- A bug that occured when disconnecting localPlayer events
v2.1.2
Fixed
playerExitingnot firing when the player dies and respawns immidately within the zone.- A rare nil checking bug within
getTouchingZonesinZoneController.
v2.1.1
Fixed
- nil comparison within ZoneController getTouchingZones line 450
v2.1.0
Added
- Detection Enum
zone.enterDetectionzone.exitDetectionzone:setDetection(enumItemName)- An Optimisation section to Introduction