Hi, my project currently uses a lot of if/else statements in action sequences.
But the problem is that there are a lot of times when I want to put an if/else statement inside the if or else if too to check what to do next after the first condition is met, but YEP Battle Engine Core does not support nested if.
I found this plugin by SergeofBIBEK, but it's not working, and it seems the creator is not working with it anymore.
forums.rpgmakerweb.com
For example, something like this
But the problem is that there are a lot of times when I want to put an if/else statement inside the if or else if too to check what to do next after the first condition is met, but YEP Battle Engine Core does not support nested if.
I found this plugin by SergeofBIBEK, but it's not working, and it seems the creator is not working with it anymore.
Action Sequence Nested IF
Action Sequence Nested IF 1.00 SergeofBIBEK Hey everyone! I made a plugin that I think would be useful to hardcore action sequence makers! **Introduction** This is a really simple plugin. It allows you to nest IF statements in action sequences. **How to Set Up** Place this plugin below...
forums.rpgmakerweb.com
For example, something like this
Code:
<target action>
action effect
if target.result().isHit()
if target.isEnemy()
if target._race === "Human" && $dataEnemies[target._enemyId].meta.weight === "heavy"
animation 48: target
if target.isDying() && target.tp > 3 && target.hpRate() > 0.5
//do something
else if target.isDying() && target.tp > 3 && target.hpRate() <= 0.5
//do something
else
//do something
end
else if target._race === "Human" && $dataEnemies[target._enemyId].meta.weight === "light"
// do something other than above.
else
// do something
end
else
end
end
</target action>