Hi everyone,
I'm a bit stuck right now, as I need to set up a conditional branch that checks if variable X is bigger than (variable Y+variable Z) and I'm not sure how to do it. I'm guessing it needs to be a script call of some sort, but I really don't know how to structure it or anything.
I'd be really thankful if someone could briefly explain to me how this can be done - perhaps there is a function like that and I'm just blind.
Thanks!
EDIT Never mind, figured it out...
For those interested:
it's Script (3rd page)...
# Basic Conditional Branch
if ($game_variables[Y]+$game_variables[Z]) < $game_variables[X]
# do stuff
else
# do stuff
end
Thanks to http://forums.rpgmakerweb.com/index.php?/topic/25759-script-call-collection-for-vxace/
I'm a bit stuck right now, as I need to set up a conditional branch that checks if variable X is bigger than (variable Y+variable Z) and I'm not sure how to do it. I'm guessing it needs to be a script call of some sort, but I really don't know how to structure it or anything.
I'd be really thankful if someone could briefly explain to me how this can be done - perhaps there is a function like that and I'm just blind.
Thanks!
EDIT Never mind, figured it out...
For those interested:
it's Script (3rd page)...
# Basic Conditional Branch
if ($game_variables[Y]+$game_variables[Z]) < $game_variables[X]
# do stuff
else
# do stuff
end
Thanks to http://forums.rpgmakerweb.com/index.php?/topic/25759-script-call-collection-for-vxace/