Making a Stat System

Tommo92
30 May 2012, 08:19
I have tried this but i only get number output and not number and name of the statatus attribute any way to get the key and value to both be shown?

sgreig
30 May 2012, 17:35
Could you be more specific and maybe give an example of what you're talking about? It will make it easier for people to help you that way.

Tommo92
31 May 2012, 08:14



i want the output box to say Int 10 but i dont want to have to set the atribute value to int 10

sgreig
31 May 2012, 17:35
A quick search on the wiki revealed this:

The key in the dictionary is the name of the attribute. The value can be left blank, or you can set it to a format string like "Health: !".



So, in essence you can't make Quest print the name of the attribute. You set the string in the value. You can read more on it here: http://quest5.net/wiki/Status_Attributes