m I suck at this. |
m being terrible at wiki page creating, number 5 will surprise you |
||
Line 4: | Line 4: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":" | {"Name":"*", "Type":"Impulse"}, | ||
{"Name":"Description", "Type":"String"} | {"Name":"Description", "Type":"String"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":" | {"Name":"Next", "Type":"Continuation"} | ||
] | ] | ||
|}} | |}} |
Revision as of 20:49, 27 January 2024
A begin undo batch is used to batch together every undo step called after it, like Create Undo Spawn Step, Create Undo Field Step, and Create Undo Spawn 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 then needs to be ended with a End Undo Batch, to batch together every undo step call after this node and before the undo batch. Other nodes than just 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 article or section is a Stub. You can help the Resonite Wiki by expanding it.