Hello, I'm trying to figure out how to add math equations in text scripts so for example if they talk to a guy who wants 250 gold for something and the player has 140 gold he'll say:
"You need 110 more gold for this item."
Which would basically be doing "You need [itemprice]-[playergold] more gold for this item." or something like that.
So is there any way to do this with or without external script? (I don't mind if the script is for free games only cause this will be a free game)
"You need 110 more gold for this item."
Which would basically be doing "You need [itemprice]-[playergold] more gold for this item." or something like that.
So is there any way to do this with or without external script? (I don't mind if the script is for free games only cause this will be a free game)