ProtoFlux:Write

From Resonite Wiki
Revision as of 18:40, 3 February 2024 by 989onan (talk | contribs) (Created page with "{{#Invoke:ProtoFlux|GenerateUI |Name=Write |Category=Actions |Inputs= [ {"Name":"*", "Type":"Impulse"}, {"Name":"Value", "Type":"Dummy"} ] |Outputs= [ {"Name":"OnWritten", "Type":"Continuation"}, {"Name":"OnFail", "Type":"Continuation"} ] |Globals= [ {"Name":"Variable", "Type":"Variable"} ] |}} {{Template:Basic Writes Info|Writes}} TODO: Come back to do this one's standard stuff")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Write
*
OnWritten
Value
OnFail
Variable
null
Actions

Writes are a way to change a specified value without driving it. Instead you can use Writes to change a value in a similar fashion to changing the value through the inspector. Using Writes 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 Writes with your operations will help with performance since you're only searching once and not every single game tick.


TODO: Come back to do this one's standard stuff