We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e96ee4 commit 3c2845eCopy full SHA for 3c2845e
addons/dialogic/Events/Variable/event_variable.gd
@@ -40,7 +40,12 @@ func _execute() -> void:
40
if name:
41
var orig :Variant= dialogic.VAR.get_variable(name)
42
if value and orig != null:
43
- var the_value :Variant = dialogic.VAR.get_variable(value)
+ var the_value :Variant
44
+ match _value_type:
45
+ 0: the_value = dialogic.VAR.get_variable('"'+value+'"')
46
+ 2: the_value = dialogic.VAR.get_variable('{'+value+'}')
47
+ 1,3,4: the_value = dialogic.VAR.get_variable(value)
48
+
49
if operation != Operations.Set and str(orig).is_valid_float() and str(the_value).is_valid_float():
50
orig = float(orig)
51
the_value = float(the_value)
0 commit comments