dialogic
dialogic copied to clipboard
Poposal: Use "set" instead of "VAR" in text format of Set Variable event
Set variable events are currently saved as
VAR {Player/Health} += 4
VAR MyAutoload.text = "Hello"
VAR {Player/Counter = "Oops"
The var makes sense from the code standpoint, but is strange/unintuitive for users. I suggest we use "set":
set {Name} = "john"
This would also make the syntax more similar to nathanhoads Dialog Manager plugin, which is a good thing imo.
The downside with this is that we use this text to identify the event, meaning no text event could start with this word. That's why I originally chose VAR. Still wanted to discuss this tho.
We decided to go with set
to be more similar to nathanhoads DialogManager syntax.
Waitaminute. How did we agree on this and then never implement it... I'll try to do this asap.