Hello! I think this question is probably rooted in my coding experience being from Java, so I keep trying to apply incorrect formatting here.
I have a field widget called "name" on card "A" where I want the player to type their name, and I have a locked field widget called "hellotext" on card "B" where I want it to say "hello [name] how are you?"
Ive been trying to do this with the following code in B's card script but I keep getting the output "0" in "hellotext"
hellotext.text: "Hi " + deck.cards.A.widgets.name.text + " how are you?"
I also tried
hellotext.text: fuse "Hi ",deck.cards.A.widgets.name.text, " how are you?"
but that gave me the error " 'fuse' is a keyword, and cannot be used for a variable name."
Sorry for such a simple question but I'm really stumped!