Posted: Fri Apr 20, 2007 1:05 pm Post subject: += and -= operators
I don't know if this is more a core bug. I thought i could use the operators everywhere, but it seems they are only for variables not for e.g. members. I realized that a few minutes ago as i tried a
Code:
weapon.hp -= 1;
which doesn't work if it is not
Code:
weapon.hp := weapon.hp - 1;
So my simple question: Are these operators only for script variables?
Author
Message
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA