+= and -= operators
Posted: Fri Apr 20, 2007 9:05 am
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
which doesn't work if it is not
So my simple question: Are these operators only for script variables?
Code: Select all
weapon.hp -= 1;
Code: Select all
weapon.hp := weapon.hp - 1;