What I wanted to do was a simple variable
Code: Select all
int cash
cash = 0
Code: Select all
cash = cash + 100
What I would like to do is check the value of cash from the dialouge system and give an appropriate response if the number is high enough but for the life of me, I cannot seem to achive this.
Can any one help with this? or am I missing something here, like a built in currency? all examples I found, swapped items for other items but, as cash won't drop, I wanted to keep it really simple.
Any ideas?