Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:BeginUndoBatch: Difference between revisions

From Resonite Wiki
989onan (talk | contribs)
m typoo
989onan (talk | contribs)
m typo again
Line 28: Line 28:


=== 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.
 
The description for this undo batch. The description will be automatically prepended with "Undo" in bigger text in the context menu.


== Outputs ==
== Outputs ==

Revision as of 20:46, 27 January 2024

ProtoFlux Node
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.

[[Category:ProtoFlux:Position:In:Node:Picker]]