Template:OffloadToRelaysFirst





This function is a primary generator of scripting events. If this function would trigger multiple events simultaneously, it is good practice to route these outputs via a single relay instead. This way if you decide to change the nature of this trigger (for example, switch out a trigger to a button), you don't need to manually reconnect all the endpoints that would be effected by the new source.

In the top screenshot, if you wanted to replace the trigger with a button, you would need to delete the trigger, create the button, then reconnect all the nodes to the button.

In the bottom screenshot, you would only need to connect the button to the relay, which already has the endpoints connected.