Community ProtoFlux Library/AmasterAmaster/Action/Write String: Difference between revisions
From Resonite Wiki
No edit summary |
Small corrections. Fixed links. |
||
(3 intermediate revisions by one other user not shown) | |||
Line 14: | Line 14: | ||
{"Name":"OnFail", "Type":"Continuation"}, | {"Name":"OnFail", "Type":"Continuation"}, | ||
{"Name":"Value", "Type":"String"}, | {"Name":"Value", "Type":"String"}, | ||
{"Name":"ValueOfField", "Type":" | {"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.