Need help creating a state using Yanfly plugins

Hello. I'm attempting to create a Float state, like the one found in various Final Fantasy games. It seems I could easily do so with Yanfly's Battle Engine Core and Action Sequence Pack plugins, which I have, but I only vaguely understand the plugin commands.

If anyone could please explain how I could do this, or provide the right command for me to copy and paste, I'd really appreciate it.
No plug-in needed to do the basic functionality unless you want the visual side of things too. All you need to do is in the state features add the immunities and resistances you want them to have.

Now if you want the visual side of things, that is much harder, you'll need a custom plug-in because as far as I know that cannot be done with the plug-ins currently out there.
No plug-in needed to do the basic functionality unless you want the visual side of things too. All you need to do is in the state features add the immunities and resistances you want them to have.

Now if you want the visual side of things, that is much harder, you'll need a custom plug-in because as far as I know that cannot be done with the plug-ins currently out there.

Oh, yes. Sorry, I would like the visual aspect. I'm pretty sure Yanfly's plugin should work, since the video shows it and the help file lists it. I just don't quite grasp how to set up the command that would go in the Note box.
Only thing I can think of would be to set up your float by cannibalizing his "Jump and Land" skill, he made in the tips and tricks segment on his website.

Have them have them float in the action command for the skill but have no return command.

Then when the "land" skill triggers, just have the command return them to the ground.
If you add Yanfly's Buffs & States Core to the Battle Engine and Action Sequence Packs, you can accomplish it by putting the following in the float state's notebox:

Code:
<Custom Apply Effect>
user.battler().setupFloat(1.0, 20);
</Custom Apply Effect>

<Custom Remove Effect>
user.battler().setupFloat(0, 20);
</Custom Remove Effect>

The first number used in the setupFloat function is the float height -- it appears to be a multiple of the sprite's height. (0 is the starting position.)
The second number is how many frames it should take for the character to move from its previous height to the new height.
If you add Yanfly's Buffs & States Core to the Battle Engine and Action Sequence Packs, you can accomplish it by putting the following in the float state's notebox:

Code:
<Custom Apply Effect>
user.battler().setupFloat(1.0, 20);
</Custom Apply Effect>

<Custom Remove Effect>
user.battler().setupFloat(0, 20);
</Custom Remove Effect>

The first number used in the setupFloat function is the float height -- it appears to be a multiple of the sprite's height. (0 is the starting position.)
The second number is how many frames it should take for the character to move from its previous height to the new height.

Thank you so much!

Original thread: https://forums.rpgmakerweb.com/threads/need-help-creating-a-state-using-yanfly-plugins.90860/