Wire splits: Difference between revisions
-u ndefined- (talk | contribs) mNo edit summary |
-u ndefined- (talk | contribs) m (Clarify) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
A '''wire split''' occurs upon linking an output wire to two or more inputs, and vice versa. | A '''wire split''' occurs upon linking an output wire to two or more inputs, and vice versa. | ||
To split a wire, tap the selected script block once again. | To split a wire, tap the selected script block once again. | ||
Any wired outputs will display the wire able to be plugged again, until eight | Any wired outputs will display the wire able to be plugged again, until [[Limitations in Fancade scripting|the limit]] of eight connections have been reached for that wire. | ||
It is one of the factors of [[script limit]]. | It is one of the factors of [[script limit]]. | ||
== Examples == | |||
Wire splits can be used to avoid duplicating code for a small set of known values, while being easier to use than [[List]]s with [[Loop]]s. | |||
[[File:Wire split iterate.png|thumb|Wire splits used to to set positions of multiple objects using just one [[Set Position]]]] | |||
== Trivia == | == Trivia == | ||
Line 9: | Line 15: | ||
In an early alpha of the game, the game originally had script blocks specifically used for splitting wires. | In an early alpha of the game, the game originally had script blocks specifically used for splitting wires. | ||
[[File:20170417181000.jpg|left|thumb]] | |||
[[Category:Scripting]] | [[Category:Scripting]] |
Latest revision as of 04:28, 9 January 2025
A wire split occurs upon linking an output wire to two or more inputs, and vice versa. To split a wire, tap the selected script block once again. Any wired outputs will display the wire able to be plugged again, until the limit of eight connections have been reached for that wire.
It is one of the factors of script limit.
Examples
Wire splits can be used to avoid duplicating code for a small set of known values, while being easier to use than Lists with Loops.

Trivia
In an early alpha of the game, the game originally had script blocks specifically used for splitting wires.
