Accessing wire inputs/outputs from starfall
🔌 Wiremod•Updated 2 days ago•0 views
Declare ports with wire.adjustInputs({"One","Two"},{"type","type"}) then access values via wire.ports.One etc. - inputs and outputs share the ports table.
How to call/read a wire input or output in starfall
Declare ports with wire.adjustInputs({"One","Two"},{"type","type"}) then access values via wire.ports.One etc. - inputs and outputs share the ports table.