ProtoFlux:Begin Undo Batch

From Resonite Wiki
Revision as of 20:47, 27 January 2024 by 989onan (talk | contribs) (I suck at this.)
Begin Undo Batch
Input
Output
Description
Wiki

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.