Sunday, March 4, 2012

Even more variable replacement now with health

Okay so this one is a bit more complicated to try to understand. Basically changing a game variable with an on the fly variable. A nice little addition to the overall and lets me finally end this variable rampage.

So now you can do:

GameArray[whatGirl].HP = GameArray[whatGirl].HP - health

or any on the fly variable.

Now on to sick and will be done until someone finds a bug.


1 comment:

  1. Just wondering, but if it's really as easy as replacing 'GameArray[whatGirl].HP' with 'GameArray[whatGirl].HP - health' everywhere, can't you just copy the code into notepad or something similar and use 'replace all'?