ProtoFlux:Create Type Field Undo Step: Difference between revisions

From Resonite Wiki
Create Type Field Undo ProtoFlux Node
 
added link to impulses
Line 22: Line 22:
== Inputs ==
== Inputs ==


=== Input (Call) ===  
=== Input ([[Impulses|Call]]) ===  
Create the undo step and set the revert to value to the current value in the provided Target ([[Type:Type|Type Field]])
Create the undo step and set the revert to value to the current value in the provided Target ([[Type:Type|Type Field]])


Line 36: Line 36:
== Outputs ==
== Outputs ==


=== Output (Continuation) ===
=== Output ([[Impulses|Continuation]]) ===
Continues to More undo steps, continues to code that eventually ends, or an [[ProtoFlux:End Undo Batch|End Undo Batch]] that continues to eventually ended code.
Continues to More undo steps, continues to code that eventually ends, or an [[ProtoFlux:End Undo Batch|End Undo Batch]] that continues to eventually ended code.



Revision as of 07:32, 4 February 2024

Create Type Field Undo Step
*
Next
Target
ForceNew
Undo


The node will create an undo step in the context menu of the person who the impulse came from. The node will then send to the undo manager in the world the value that the field provided into Target should revert to. Or in more simpler terms, the current value the provided Target (Type Field) contains is what it will be reset to when undone via the context menu.

when this node is paired with an Undo Batch, it's description if has one, will be ignored, and will be part of the Undo Batch's undo step instead.


Inputs

Input (Call)

Create the undo step and set the revert to value to the current value in the provided Target (Type Field)

ForceNew (Bool)

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Target (Type Field)

The Type Field to undo for this undo step.


Outputs

Output (Continuation)

Continues to More undo steps, continues to code that eventually ends, or an End Undo Batch that continues to eventually ended code.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.