Browsing Wiremod's section
← Back to ACE
šŸ’¬

Community answer

Collected from the ACE community Discord archive around 2024-06-05. It may be informal or outdated — anyone can edit this page to improve it. This topic changes between game versions — double-check before relying on it.

Linking entities with E2 createWire

šŸ’» Expression 2Updated 2 days ago•0 views
Use `entity:createWire(entity ent2, string inputname, string outputname)`. Example: `entity:createWire(BOMB,Detonate,Detonate)` with `BOMB:entity` declared in i…

How can an E2 automatically wire one entity's output to another entity's input (e.g. link an explosion trigger to a bomb)?

Use `entity:createWire(entity ent2, string inputname, string outputname)`. Example: `entity:createWire(BOMB,Detonate,Detonate)` with `BOMB:entity` declared in inputs.

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.