Implementing variables to gdevelop


NOTE:dont link older posts cuz i already tried them
idea : im trying to make a top-down game with dialogue and im new to yarn i already got somethings done and im good at it now

problem:i want at the start of the game the player input their name and when the click ok the name is stored in a global variable as a string then whenever in the yarn dialoge editor i can call the player name from the global variable

how it is supposed to be : hi {player_name} how are you ?

what i got is : the yarn editor read the {player_name} as a literal word not as the variable

NOTE : DONT LINK OLDER POSTS CUZ THEY DONT WORK FOR ME

This is completely uncalled for given there is an existing thread that DOES work. I know, because I wrote it.

If you cannot make it work, then post what you have done and someone can help pinpoint where it’s gone wrong.

1 Like

ok but how to export the dialogue into my lapotato