+1 vote

Hi, I am trying to make dialog from this tutorial -- https://fr.flossmanuals.net/creating-point-and-click-games-with-escoria/creat-actions/

I carefully did all steps, but my scene shows me only first sentence

:talk
say cat "Hello young panda"
say cat "Don’t worry, you’ll succeed"
set_global introduced true
stop

Script output is

vm on telon is  [Node:601]
connected
**** screen ofs is  (0, 0)
setting camera limits from scene    (0, 0, 40, 40)
**** screen ofs is  (0, -45)
setting camera limits from scene    (0, 0, 40, 40)
**** screen ofs is  (0, 0)
setting camera limits from scene    (0, 0, 40, 40)
hud got tooltip text    cat.tooltip
hud got tooltip text    
item set speaking!  cat True    default
hud got tooltip text    
item set speaking!  cat False   default
hud got tooltip text    cat.tooltip
hud got tooltip text    
item set speaking!  cat True    default
hud got tooltip text    
item set speaking!  cat False   default
hud got tooltip text    cat.tooltip
hud got tooltip text    
item set speaking!  cat True    default

I never reach second sentence. Why?

in Engine by (13 points)

You are using Godot 2,right? Do you see any output in the debugger tab?

Hi,
yes my GODOT installation is last stable 2.1.4.

Debugger output shows me nothing interesting - enter image description here.

May be somebody can explain me how to debug this situation?
Where I must put break-point and which values I need to check?

You must have an item with global_id "cat", since you see the first line of dialogue, so it's puzzling. I'd put breakpoints in https://github.com/godotengine/escoria/blob/master/device/globals/vm_level.gd#L64, https://github.com/godotengine/escoria/blob/master/device/globals/global_vm.gd#L222, https://github.com/godotengine/escoria/blob/master/device/globals/dialog_player.gd#L5 and https://github.com/godotengine/escoria/blob/master/device/globals/dialog_dialog.gd#L33, plus maybe a few other places I don't remember exactly. (I'm on mobile, so it's a bit difficult to look up.)

Just a hunch, but could you try removing the two apostrophes from the second dialogue and see if it makes any difference?

Thank you for help, but it was my fault(no so mine, I think)

Now I have solution for my case.

*.esc file MUST have same name as global_id. I had old_man.esc which was wrong.

But it is not obvious for me --- why I need those naming conventions while we have file selection menu. Can anybody explain why?

If that's the case, I doubt it's intentional. It would be great if you could submit an issue at https://github.com/godotengine/escoria/issues with as much relevant information as possible, since this seems worth investigating.

Please log in or register to answer this question.

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 Frequently asked questions and 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 [email protected] with your username.