Template:Basic Writes Info

Template page
Revision as of 18:39, 3 February 2024 by 989onan (talk | contribs) (Explaining why writes are better than drives in single impulse situations)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{1}}} are a way to change a specified value without driving it. Instead you can use {{{1}}} to change a value in a similar fashion to changing the value through the inspector. Using {{{1}}} helps with performance too, since the values provided to the node only evaluate for one game tick while the node is being impulsed vs a driver which evaluates every game tick. This can also be used to reduce the amount of times code is evaluated. If you have to search the entire root for your code to find a slot and then do an operation, using {{{1}}} with your operations will help with performance since you're only searching once and not every single game tick.