create begin undo batch page |
Remove misinfo |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name= | |Name=Begin Undo Batch | ||
|Category= | |Category=Undo | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":" | {"Name":"*", "Type":"Call"}, | ||
{"Name":"Description", "Type":"String"} | {"Name":"Description", "Type":"String"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":" | {"Name":"Next", "Type":"Continuation"} | ||
] | ] | ||
|}} | |}} | ||
A | A '''Begin Undo Batch''' is used to batch together every [[Undo|undo]] step called after it, like [[ProtoFlux:Create Spawn Undo Step|Create Spawn Undo Step]], [[ProtoFlux:Create Field Undo Step|Create Field Undo Step]], and [[ProtoFlux:Create Reference Undo Step|Create Undo Reference Step]] to name a few from the [[:Category:ProtoFlux:Undo| ProtoFlux Undoable Category]]. | ||
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 undo step descriptions between these nodes will be ignored. | The undo step descriptions between these nodes will be ignored. | ||
Line 24: | Line 24: | ||
== Inputs == | == Inputs == | ||
=== Input (Call) === | === Input ([[Impulses|Call]]) === | ||
Start the undo batch. | Start the undo batch. | ||
=== Description ([[Type:String|String) === | === Description ([[Type:String|String]]) === | ||
The description for this undo batch. The description will be automatically prepended with "Undo" in bigger text in the context menu. | |||
== Outputs == | == Outputs == | ||
=== Output (Continuation) === | === Output ([[Impulses|Continuation]]) === | ||
The undo steps to batch with this undo batch followed by an [[ProtoFlux:End Undo Batch|End Undo Batch]]. | The undo steps to batch with this undo batch followed by an [[ProtoFlux:End Undo Batch|End Undo Batch]]. | ||
== 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: | |||
Latest revision as of 16:57, 5 April 2025
Begin Undo Batch
Undo
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 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