Virtual Pet

Hi all, I need some help with some action scripting, I want to create a Flash version of a Virtual pet.

I need to generate a level of health , hunger , boredom but im not to sure how about in implementing this.

I’m thinking of using the “maths.random” function to generate a random level of each but im not to sure if this is the best way of doing it (and how to use it)

Would it be better if I just set a value for each and then decrement X amount every so often?

Or am I looking at this the wrong way?


Any advice would be cool