Page 1 of 1

A quick question about my game

PostPosted: Fri May 05, 2006 7:01 pm
by speckford123
for an rpg where my attack is increased would this work:

i create the variable "attack"
in a create actor I say attack=1;
when I kill something on an event put attack=attack+1(etc); :?

PostPosted: Fri May 05, 2006 8:09 pm
by Fuzzy
yes, that will permanently increase the value of attack.

PostPosted: Mon May 08, 2006 6:29 pm
by speckford123
ok, but what im using now is better, I use a textNumber actor
so lets say magic.textNumber=magic.textNumber+1; on a destroy actor
event so attack is visiblely increased