Reply to Re: mathmod
If you don't have an account, just leave the password field blank.
int &halflifemax = &lifemax;
&halflifemax / 2;//here, I corrected redink1's script
&life += &halflifemax;
if (&life > &lifemax)
{
&life = &lifemax;
}
I guess you wanted to use math_div instead of math_mod, but this way, if dink's life was higher than half of his lifemax, it would lower dink's life(and I guess you didn't want that).
&halflifemax / 2;//here, I corrected redink1's script
&life += &halflifemax;
if (&life > &lifemax)
{
&life = &lifemax;
}
I guess you wanted to use math_div instead of math_mod, but this way, if dink's life was higher than half of his lifemax, it would lower dink's life(and I guess you didn't want that).