🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

Variable In-Text Workaround

A topic by SmickyG created 11 days ago Views: 32
Viewing posts 1 to 1

I found a way to fix my issue with displaying actual variables in dialogue. If anyone's stuck on this, here's what I did. I was trying to get the variable "FS" (Final Score) to display in the final room of my game. I tried a bunch of different ideas involving the say command in an attempt to read the variable's data directly. I found, though, that if you set the variable's tag in the Var/Item settings page (VarName : VarTag) to an introduction to the variable (I.E. "Gold Collected: ") as well as in the dialogue box type {say "VarName Here"} WITH the quotes, it will display the value when prompted. Is there a better way to do this?