Wire splits: Difference between revisions
m
Clarify
-u ndefined- (talk | contribs) (Created page with "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 eight input or output connections has reached. It is one of the factors of script limit. == Trivia == In an early alpha of the game, the game originally had script blocks specifically used for splitting wires. {{Image|Wire_Splitting_alpha_ver....") |
-u ndefined- (talk | contribs) m (Clarify) |
||
(2 intermediate revisions by 2 users 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: | [[Category:Scripting]] |