Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Info Manipulating

Author
Message
Lonnie
21
Years of Service
User Offline
Joined: 28th May 2003
Location:
Posted: 23rd Oct 2003 02:55
If I wanted to save Info, lets say for a RPG Units HP, How would I do this? Would I just use a bunch of normal Variables Like "HP=100", and then I would also need "MaxHP=100".

So that way if you get damaged it would affect your HP, but not your maxximum HP. Would I have to do that for every Unit In the game, Or would there be an quicker, way for accessing the Information of Unit Stats. I thought of Variables, Mabey those will work... Hmm...

Some Demonstartions of what I should do would be helpfull! Thanks!

(Ps I did not proof read any of this so it may have speelin, an tum gramare thing errors too, (see, lol) Sorry

Do Print "Hello World"
Wait 2003 loop
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 23rd Oct 2003 03:22
Yes. Try using user defined type to keep your variables organized and consistent.
--
TAZ
Lonnie
21
Years of Service
User Offline
Joined: 28th May 2003
Location:
Posted: 23rd Oct 2003 03:52
Awsome, Thanks! That will come In handy!

Thanks alot!

Do Print "Hello World"
Wait 2003 loop

Login to post a reply

Server time is: 2024-11-25 14:33:27
Your offset time is: 2024-11-25 14:33:27