Variables & state
Named variables, boolean flags and counters that live for the current runtime.
Set Variable
Stores a runtime value by name.
In: Name:String, Value:Any
Out: exec Out
Variables live for the current runtime session.
Set Variable(Name=target, Value=Pos).
Get Variable
Reads a runtime value by name.
In: Name:String
Out: Value:Any
Wire Value into an input that matches the type you stored.
Get Variable(target) → Mouse Move Pos.
Compare Variable
Compares a variable with a number.
In: Name:String, Value:Float
Out: Result:Bool
Runtime currently compares `cur < Value`.
Compare Variable(counter, 10) → If.
Modify Variable
Changes a stored number (add / subtract / multiply / divide / reset).
In: Name:String, Action:String, Amount:Float
Out: Value:Float
Modify Variable(gold, add, 100).
Set Flag
Sets a boolean flag.
In: Name:String, Value:Bool
Out: exec Out
For scenario state.
Set Flag(Name=inCombat, Value=true).
Get Flag
Reads a boolean flag.
In: Name:String
Out: Value:Bool
Conditions based on state.
Get Flag(inCombat) → If.
Counter
Increment / decrement / reset / set / read a named counter.
In: Name:String, Action:String, Step:Int
Out: Value:Int
Action = increment, decrement, reset, set, read.
Counter(kills, increment, 1) → Value.