VX MELODY SKILL HELP

Posts

Pages: 1
I'm using Yanfly's Melody battle engine, the active-time battle type so you can see how soon enemies/allies will be executing their actions on the time bar. I had an idea for a skill called "Gravity Sink" that would pull the enemy to the center of the bar (for example, if they were at 0%, the skill would pull them to 25%, but at 75%, it would pull them to 60%).

I know how to use conditionals in the noteboxes of my skills, but does some veteran Melody user know the script call for 1.) Fetching the target's current ATB % and 2.) Adjusting that % so it resets on the bar?

EDIT: I've been taking a few shots in the dark. Running "script: target.atb_speed = 50" as part of a skill's actions pushes the target to the very beginning of the ATB bar, but I've yet to figure out how to set it to specific points. Any ideas?
Huh. I've actually got this one figured out. If anyone's interested:

<whole action>
script: target.atb_speed = 1000
</whole action>

Sets the target of the skill to 50% on the bar. Seems to be out of a total of 2000. I love these little victories.
Pages: 1