Jonsterz:
Thank you, the Global Variable worked!!
Just one more thing, since I really don't want to make a new post for it:
How do I randomize a Instance Variable?
I have a "Cash drop" that I want to be random. So whenever the player picks it up, it'll be a random number anywhere from 0 - 10.
I tried random(0, 10) but then the "text object" I use to display it goes blank.
Global Variable again?!
Please help.
Thanks!!
First, check that the text box is big enough to display the text, if it's not big enough, it will go blank.
Yeah, the random value works. Although I'm not quite sure you need to set the 0 value, I think it automatically sets that. Just have the amount of total cash you have, as a global variable.
Example:
Global Variable -> Cash.
Event: Player -> On collision with another object (the cash object)
Action: System -> Add to Cash ( And insert here, random(10) or random(0,10).
Hope this hepled, and glad my previous tip worked!