Escoria Dialog not working, With example

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By lavaduder
:warning: Old Version Published before Godot 3 was released.

I am extremely angry, and confused. Why in the world does my script not work? It shows the dialog box, but not the text that follows. I know it’s not the current engine version since the demoreel works in my version. I look at my escoria script to the one in the demo reel and example. can’t see anything wrong with it.

Click here for the whole. Cause I don’t know what I did wrong. In gdscript or escscript, or if it’s in the editor itself.

:bust_in_silhouette: Reply From: Julian Murgia

You forgot to add a space between the ‘-’ character and your speech option.
It seems that space is important for the syntax of Esc.

Adding that space worked for me.
Here’s the resulting can.esc file :


set_global i/inv_can true
set_active can false


say player "I have several things to say about this can"
	- "Yes"
		say player "Yes"
	- "Very much yes"
		say player "Very much yes"
	- "There is not a lot to say about it actually"
		say player "There is not a lot to say about it actually"