Skip to content

[Suggestion] Grid Cell Change Cache Event #29

@PsychoShock

Description

@PsychoShock

It would be great to have a built-in caching system or event trigger that detects when a player enters or exits a grid cell. Currently, to track a player's grid position, we need to manually compare the current cell with the previous one in a loop. Having a native onGridCellChange event (or similar) would make it much easier and more efficient to build systems based on spatial logic.

Example:

lib.onCache('onGridCellChange', function(newZone, oldZone)
 -- E.g. 
end)

This would be very helpful for triggering area-specific logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions