Community ProtoFlux Library/AmasterAmaster/Action/Increment And Decrement

From Resonite Wiki
Revision as of 12:54, 23 August 2024 by Zennirus (talk | contribs) (Created page with "{{Custom Node|AmasterAmaster}} {{#Invoke:ProtoFlux|GenerateUI |Name=Increment And Decrement |Category:Amaster's Action Library |Inputs= [ {"Name":"Increment", "Type":"Call"}, {"Name":"Decrement", "Type":"Call"} ] |Outputs= [ {"Name":"OnIncrement", "Type":"Continuation"}, {"Name":"OnDecrement", "Type":"Continuation"}, {"Name":"OnFail", "Type":"Continuation"}, {"Name":"Value", "Type":"int"}, {"Name":"FieldOfValue", "Type":"IField95"} ] |Custom=true...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a custom ProtoFlux node maintained by AmasterAmaster. Contact the creator of the node (not the Dev Team) with any bugs or issues.
This node was created using an in-game system and has no correlation to the Plugin system. Currently, these types of custom nodes are not officially supported by Resonite.
Increment And Decrement
Increment
OnIncrement
Decrement
OnDecrement
OnFail
Value
FieldOfValue

Increment And Decrement is a custom node that allows the user to add or subtract an Int value. This is useful for manipulating an int value on an object to change its function depending on how the users use the int value of that object.

Input

Increment (Call)

Call to increase the int value by 1.

Decrement (Call)

Call to decrease the int value by 1.

Output

OnIncrement (Continuation)

Sends an impulse after Increment (Call) has been impulsed and the value has been written.

OnDecrement (Continuation)

Sends an impulse after Decrement (Call) has been impulsed and the value has been written.

OnFail (Continuation)

Sends an impulse after Increment (Call) or Decrement (Call) has been impulsed and the value wasn't able to be written due to a missing target.

Value (Int)

The int value that changes on the number of increment or decrement is called.

=== FieldOfValue (IField)

Allows to write directly into a string field using another node.