Skip to content

Question about text-input #2238

Answered by maron5466
maron5466 asked this question in Q&A
May 19, 2024 · 2 comments · 15 replies
Discussion options

You must be logged in to vote

Thank you very much, I finally solved the problem: the problem was that elif was not complete. Now it is elif {sommaprestito} == 0: and everything works. Still, there is something I do not understand. Whatever I do, Godot refuses to let me change the global.nave1.gold. It recognizes its value (global is the name of a singleton I am using), but it refuses to change it, even if I tried set {global.nave1.gold} += {sommaprestito}. Is there something I am missing in Dialogic 2 and the use of singleton variables?

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
15 replies
@Jowan-Spooner
Comment options

@maron5466
Comment options

@CakeVR
Comment options

@maron5466
Comment options

Answer selected by maron5466
@Jowan-Spooner
Comment options

@maron5466
Comment options

@Jowan-Spooner
Comment options

@maron5466
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants