added link to impulses |
Fixing typos, spelling, and grammer in some places. |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":"*", "Type":" | {"Name":"*", "Type":"Call"}, | ||
{"Name":"Description", "Type":"String"} | {"Name":"Description", "Type":"String"} | ||
] | ] | ||
Line 17: | Line 17: | ||
The node will create an undo step in the context menu of the person who the impulse came from. | The node will create an undo step in the context menu of the person who the impulse came from. | ||
This | This node needs to be ended with a [[ProtoFlux:End Undo Batch|End Undo Batch]], to batch together every undo step call after this node and before the end undo batch node. The other nodes undo steps can be put between the begin and end undo batch nodes, but is not recommended. | ||
The undo step descriptions between these nodes will be ignored. | The undo step descriptions between these nodes will be ignored. | ||
Line 38: | Line 38: | ||
== Examples == | == Examples == | ||
<gallery widths=480px heights=480px> | |||
File:ProtoFlux_example_undo_node_settup|This node being used in a set of nodes that undoes a bunch of actions that was done by a previous button | |||
</gallery> | |||
[[Category:ProtoFlux:Undo]] | [[Category:ProtoFlux:Undo]] |
Latest revision as of 21:15, 15 April 2024
A begin undo batch is used to batch together every undo step called after it, like Create Spawn Undo Step, Create Field Undo Step, and Create Undo Reference Step to name a few from the ProtoFlux Undoable Category.
The node will create an undo step in the context menu of the person who the impulse came from.
This node needs to be ended with a End Undo Batch, to batch together every undo step call after this node and before the end undo batch node. The other nodes undo steps can be put between the begin and end undo batch nodes, but is not recommended.
The undo step descriptions between these nodes will be ignored.
Inputs
Input (Call)
Start the undo batch.
Description (String)
The description for this undo batch. The description will be automatically prepended with "Undo" in bigger text in the context menu.
Outputs
Output (Continuation)
The undo steps to batch with this undo batch followed by an End Undo Batch.
Examples
-
This node being used in a set of nodes that undoes a bunch of actions that was done by a previous button