I couldn't think of a better title, but I can explain really well. :lol: I am working on an auto-recover on map, and I can't figure out how to check HP, SP, and MaxHP/SP within the script. I've tried @hp and @maxhp, but that's no good because it doesn't define an actor. Right now my if command to check if the HP is lower than MaxHP looks like this:
Which is no good because the if statement gives me errors. So I need help trying to get the the if fixed as well. it tells me '<' isn't right...
I am running the script in Scene_Map, but I don't know how to make it run in the background. Is it something to do with the definition or what? Help please... This is my first script from scratch so I'm a little confused.
Thanks in advance for the help.
EDIT: I know its in the wrong section...reported for a move.
Code:
if UPDATE_HP
if @hp < @maxhp then
Which is no good because the if statement gives me errors. So I need help trying to get the the if fixed as well. it tells me '<' isn't right...
I am running the script in Scene_Map, but I don't know how to make it run in the background. Is it something to do with the definition or what? Help please... This is my first script from scratch so I'm a little confused.
Thanks in advance for the help.
EDIT: I know its in the wrong section...reported for a move.