Pilatus

Trigger dataHandler considering distance to entity

Recommended Posts

My sugesttion is to add a third argument, boolean, to entity.setVariable function, basicly if this boolean is set to true then the dataHandler event for this variable would only be triggered in the client-side if the entity is within stream-distance of the player. Maybe dataHandle event already work like this and I don't know.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.