Browsing Wiremod's section
← Back to ACE
💬

Community answer

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

Getting the entity from a wirelink inside a hook

🔌 WiremodUpdated 2 days ago•0 views
The hook's value isn't the entity - get the wirelink of the value returned by the hook (ent:getWirelink()) then read the entity off the wirelink.

Why is the entity nil inside my wire input hook and how to get it

The hook's value isn't the entity - get the wirelink of the value returned by the hook (ent:getWirelink()) then read the entity off the wirelink.

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.