💬

Community answer

Collected from the ACE community Discord archive around 2020-08-09. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

net.readEntity with a validity callback

🧠 LogicUpdated 2 days ago•0 views
Use net.writeEntity on send and net.readEntity(cb) on receive - the callback fires once the entity becomes valid clientside, avoiding nil-entity races.

How to receive an entity over net and use it once valid

Use net.writeEntity on send and net.readEntity(cb) on receive - the callback fires once the entity becomes valid clientside, avoiding nil-entity races.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.