When using Global Ints as stats in an RPG game, say that HERO's attack power is 40 SetGlobalInt(2,40);
And the MONSTER's h.p. is 50 SetGlobalInt(23,50);
How do I make HERO's attack power be minused from MONSTER's h.p.????
SetGlobalInt(23, GetGlobalInt(23)-GetGlobalInt(2));
should do it?
THANK YOU SO MUCH, NOW I CAN MAKE MY RPG!!!