Skip to content

v2.5.0 - Zone Events and PolyZone startup and memory optimization

Compare
Choose a tag to compare
@mkafrin mkafrin released this 21 Dec 01:45
· 17 commits to master since this release

This update has one new feature as well as one large performance optimization for PolyZones.

This release adds:

  • Zone Events
    • You can add a zone event to any zone and then trigger that zone event from any client and that event will trigger on all clients on the server that are within that zone.
    • Useful for situations where one client triggers an action, but all clients in the zone should be affected by it. See here for more info.
  • lazyGrid PolyZone optimization
    • This is a new option on PolyZones, enabled by default, that delays the grid optimization creation until it's necessary, and does it cell-by-cell, rather than for the whole zone at once. This reduces the startup cost for PolyZones by >99% (to near-zero) and reduces memory usage. See here for more info.

The resource itself can be found in PolyZone.zip. You can grab an example resource from release 2.2.0.