I was wondering how would you come about adding two vars togther e.g.
usr.Hp + usr.MP
can anyone post how to do it please.
Thanks
ID:270085
Jan 3 2006, 11:02 am
|
|
In response to Vito Stolidus
|
|
thanks.
|
In response to Fire Dynasty
|
|
Similarly, you can use -=, *=, and /=. To add or subtract 1, you can do:
var/x = 1 |
In response to Vito Stolidus
|
|
Yes, anytime you are adding/subtracting/mutiplying/dividing, and the number you doing it with doesn't equal a variable, like what ^^^^ posted, it must be either
+= adding You cannot do just... usr.Hp + usr.Mp//this will get you errors unless it it has something it equals Just remember that and you'll be fine. I'm just further explaining what ^^^^ said. (sorry, I missed your name) |
--Vito