[RMVX ACE] YANFLY'S FOLLOW-UP SKILLS AND USING EVAL
Posts
Pages:
1
Yanfly's Follow-Up Skills script let's you use eval but I can't understand how to do it
For example, I'm trying to have a condition where if the actor has the state 43 it uses skill 264, but if not it uses 157. This is what I tried:
Help!
For example, I'm trying to have a condition where if the actor has the state 43 it uses skill 264, but if not it uses 157. This is what I tried:
<follow up eval>
a.state?(43) ? 264 : 157
</follow up eval>
Help!
Looks like the FollowUpEval tag is only intended as a condition to see if it procs or not, try using it in conjunction with a FollowUp tag to mark what skill you want to follow up with? I'd guess you need to use two FollowUpEval + FollowUp sets of tags to imitate the trinary operator.
author=GreatRedSpirit
Looks like the FollowUpEval tag is only intended as a condition to see if it procs or not, try using it in conjunction with a FollowUp tag to mark what skill you want to follow up with? I'd guess you need to use two FollowUpEval + FollowUp sets of tags to imitate the trinary operator.
After a lot of trial and error I figured this works:
<follow up 264>
<follow up eval>
$game_actors[1].state?(43)
</follow up eval>
It's not exactly what I had in mind but I think I can make this work. Thanks for the help!
Pages:
1















