Not to sound Stupid, but i need help with status Variables
ramtha
30 Jul 2005, 07:33I read through the QDK manual and i dont quite understand how to set the status variables. It just seems a bit vauge to me. When I go into the status variables, I add Money, but what i dont understand is after i put it in, with a numeric value of 200 it shows a small box in the side of the game with a 200 and thats it, its not an actual value. Help would be more than much appreciated
francisstokes
30 Jul 2005, 08:45In the display write something like:
Money - !
In game that will appear as money - 200.
Money - !
In game that will appear as money - 200.
ramtha
30 Jul 2005, 09:40but will that make it a value? and if so how do i take away only a certain value?
francisstokes
30 Jul 2005, 09:44Right.You must've heard of algrebra.Its pretty much the same thing.
Theres a "increment/decrement a numeric variable" script command in the variable section.
Don't put % round the var name though.
[edit]
To your other question, yes it is a value.The value of the variable is 200.Variables are pretty flexible, and you will learn that they are a key part of ASL programming (and QDK stuff).
You can set variables as well as taking away and adding on.So, if you had 2 variables, a and b, and b has the value of 12, you can set a to %b% * 3, which would give you 36.
Theres a "increment/decrement a numeric variable" script command in the variable section.
Don't put % round the var name though.
[edit]
To your other question, yes it is a value.The value of the variable is 200.Variables are pretty flexible, and you will learn that they are a key part of ASL programming (and QDK stuff).
You can set variables as well as taking away and adding on.So, if you had 2 variables, a and b, and b has the value of 12, you can set a to %b% * 3, which would give you 36.
ramtha
30 Jul 2005, 10:26ok, thanks, i get it now.