Community ProtoFlux Library/AmasterAmaster/Action/Write String: Difference between revisions
From Resonite Wiki
Created page with "{{Custom Node|AmasterAmaster}} {{#Invoke:ProtoFlux|GenerateUI |Name=Write String |Category=Amaster's Action Library |Outputs= [ {"Name":"*", "Type":"string"} ] |Custom=true |}} The '''Write String''' is an action node that works similarly to the Write flux node. However, this custom node allows the user to directly write a string without the use of a variable." |
Small corrections. Fixed links. |
||
(5 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
|Name=Write String | |Name=Write String | ||
|Category=Amaster's Action Library | |Category=Amaster's Action Library | ||
|Inputs= | |||
[ | |||
{"Name":"*", "Type":"Call"}, | |||
{"Name":"String", "Type":"String"} | |||
] | |||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":" | {"Name":"OnWritten", "Type":"Continuation"}, | ||
{"Name":"OnFail", "Type":"Continuation"}, | |||
{"Name":"Value", "Type":"String"}, | |||
{"Name":"ValueOfField", "Type":"IField`1"} | |||
] | ] | ||
|Custom=true | |Custom=true | ||
|}} | |}} | ||
The '''Write String''' | The '''Write String''' node works similarly to the [[ProtoFlux:Write|Write]] node. However, this custom node allows the [[Type:User|user]] to directly write a string without the use of a variable. | ||
== Inputs == | |||
=== * ([[Impulses|Call]]) === | |||
Calls to write a string from the string input. | |||
=== String ([[Type:String|String]]) === | |||
The string input the custom node writes from. | |||
== Outputs == | |||
=== OnWritten ([[Impulses|Continuation]]) === | |||
sends an impulse after * ([[Impulses|Call]]) has been impulsed and the value has been written. | |||
=== OnFail ([[Impulses|Continuation]]) === | |||
sends an impulse after * ([[Impulses|Call]]) has been impulsed and the value wasn't able to be written due to a missing target. | |||
=== Value ([[String|String]]) === | |||
The string value written by the custom node. | |||
=== ValueOfField ([[Type:IField`1|IField]]) === | |||
allows to write directly into a string field using another node. |
Latest revision as of 15:15, 23 August 2024
Write String
Amaster's Action Library
The Write String node works similarly to the Write node. However, this custom node allows the user to directly write a string without the use of a variable.
Inputs
* (Call)
Calls to write a string from the string input.
String (String)
The string input the custom node writes from.
Outputs
OnWritten (Continuation)
sends an impulse after * (Call) has been impulsed and the value has been written.
OnFail (Continuation)
sends an impulse after * (Call) has been impulsed and the value wasn't able to be written due to a missing target.
Value (String)
The string value written by the custom node.
ValueOfField (IField)
allows to write directly into a string field using another node.