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

Community answer

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

SF wire entity needs ARRAY output type

šŸ’» Expression 2Updated 2 days ago•0 views
Wire array ports need the ARRAY type declared via wire.adjustOutputs({"Engine"},{"ARRAY"},{"Test"}) - a plain table engine doesn't exist, so wire.ports.Engine s…

Why does setting wire.ports.Engine[i] fail / why does the SF-spawned wire light have different inputs

Wire array ports need the ARRAY type declared via wire.adjustOutputs({"Engine"},{"ARRAY"},{"Test"}) - a plain table engine doesn't exist, so wire.ports.Engine stays nil without it.

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.