Linking entities with E2 createWire
š» Expression 2ā¢Updated 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.