I'm having trouble sending a number var to a script. I've had success with strings in the past, but it seems like no matter what I do, the number var always ends up as zero in my script.
I'm testing for a condition to make sure the player has enough gold to get their healing.
here's the conditional script:
Code: Select all
HasGold(var=HealingCost) == true and (Variable["HealingCost"] > 0)
Code: Select all
Variable["HealingCost"] = GetHealingCost(15)