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.

Dark GDK / Entity Variables?

Author
Message
kklouzal
15
Years of Service
User Offline
Joined: 15th May 2009
Location: Arizona
Posted: 16th May 2009 11:40
I was wondering how, or if it was possible to create a box, then set some custom variables to that box, so they can be called later in other functions, eg set a health count, strength count, defence count...

Thank You =D
go2none
16
Years of Service
User Offline
Joined: 8th Oct 2008
Location: London
Posted: 16th May 2009 12:11 Edited at: 16th May 2009 12:12
Possible. You are looking for classes. Try Google for c++ classes , there's loads of tutorials out there.

You can also check this thread.
kklouzal
15
Years of Service
User Offline
Joined: 15th May 2009
Location: Arizona
Posted: 16th May 2009 12:26
Yes! that is exactly what I was looking for ;]

Login to post a reply

Server time is: 2024-11-05 18:46:57
Your offset time is: 2024-11-05 18:46:57