0 votes

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.
https://github.com/lavaduderDev/Glitchedupescoria

in Projects by (266 points)

1 Answer

+1 vote
Best answer

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 :

:pick_up

set_global i/inv_can true
set_active can false


:look

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"
by (225 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories