MV How to make other skills work like Guard?

Guard doesn't have a casting animation and you don't have to select yourself.
This is exactly what I want for some other skills I have. It bugs me that you would have to select yourself for skills you can only use on yourself. I also have skills that don't need a casting animation I can't seen to get rid of. I'm using Yanfly plugins if that matters to this question.
Not quite sure about the self selecting, but you can make any skill look like you want with action sequencing. Even not having a casting animation.
Guard is nothing special - it is simply skill number 2 with an override to a hardcoded button.
you can check its settings in the database.
Not quite sure about the self selecting, but you can make any skill look like you want with action sequencing. Even not having a casting animation.
Been trying to avoid action sequencing but yea probably better just do it for the animation part.
Guard is nothing special - it is simply skill number 2 with an override to a hardcoded button.
you can check its settings in the database.
I'm confused as to why you need no selection with Guard. Changing the scope from User to nothing seems to work on my skills but guard doesn't seem to care about scope.
Not quite sure about the self selecting, but you can make any skill look like you want with action sequencing. Even not having a casting animation.
And the Cast Animation notetag is right in Yanfly's Battle Engine Core.

I'm confused as to why you need no selection with Guard. Changing the scope from User to nothing seems to work on my skills but guard doesn't seem to care about scope.
Because that's the way it was coded? Surely you notice that in order to Guard you don't select a skill type and then choose it, right? It was coded into the battle command menu.

Scene_Battle.commandGuard() is a dedicated function to set your command to the guard skill and immediately go to the next command selection - not going to target selection like Scene_Battle.commandSkill() does.

I'm almost positive there are plugins to skip target selection on User-scope skills, have you Googled it?
And the Cast Animation notetag is right in Yanfly's Battle Engine Core.
<Cast Animation: 0> still uses a default animation for me. Or it's not working?
Because that's the way it was coded? Surely you notice that in order to Guard you don't select a skill type and then choose it, right? It was coded into the battle command menu.

Scene_Battle.commandGuard() is a dedicated function to set your command to the guard skill and immediately go to the next command selection - not going to target selection like Scene_Battle.commandSkill() does.

Ahh ok that makes sense. I knew that was somewhere but was searching wrong and not in scenes.

I did look for plugins a little bit ago. Found one by lecode that didn't work. Found another topic with code snippets that didn't work. I think I need to make my own anyway because I only want some skills to act this way. Like, I don't want the attack command to ever do that.
<Cast Animation: 0> still uses a default animation for me. Or it's not working?
Then the plugin is installed incorrectly or you didn't save and start a new game since installing it or something. The notetag works as described.

I only want some skills to act this way. Like, I don't want the attack command to ever do that.
...I have no idea how that's relevant. Attack does not have the scope of User? O__o
Guard doesn't have a casting animation and you don't have to select yourself.
This is exactly what I want for some other skills I have.
Just sayin', but this is exactly how self-target/multi-target skills work by default. If it is not the case for you, it's probably because you have a plugin that modifies the way they work, most likely YEP_BattleEngineCore, in which case you can set "Select Help Window" to false in the plugin parameters. Or just don't use it.

This is why it's important to read plugin documentation to see what the plugin does before adding it to your project, and to properly review and set up the plugin parameters if you do choose to use it.
...I have no idea how that's relevant. Attack does not have the scope of User? O__o
Oh yea this is how that Lecode plugin is supposed to work, didn't mean to say that.

I went though my entire plugin list again and it's all peachy. Turned off a ton of stuff I won't need also. For battle it's all Yanfly. Not sure what the deal is with the animations.
Movement is the skill type.
1699646672689.png

1699646827499.png


1699646569171.png

Just sayin', but this is exactly how self-target/multi-target skills work by default. If it is not the case for you, it's probably because you have a plugin that modifies the way they work, most likely YEP_BattleEngineCore, in which case you can set "Select Help Window" to false in the plugin parameters. Or just don't use it.

This is why it's important to read plugin documentation to see what the plugin does before adding it to your project, and to properly review and set up the plugin parameters if you do choose to use it.
That's what Select Help Window does?!?! Omg... I can read all day (and I do) but understanding is whole nothing thing! Also I don't think this is even in any documentation. Thank you for solving that one.
Then the plugin is installed incorrectly or you didn't save and start a new game since installing it or something. The notetag works as described.
OP has the notetag set correctly, but I wouldn't expect <Cast Animation: 0> to do anything when the animations start at 1.
I wouldn't expect <Cast Animation: 0> to do anything when the animations start at 1.
the help doc for the battle engine say that making it zero causes it to not have an animation
the help doc for the battle engine say that making it zero causes it to not have an animation
Well, how amusing. I'm right, but not in the right way. :LZSjoy:

Anyway, as I forgot OP wanted no animation at all, maybe Turan was entirely correct. I've seen enough people forget to start new games after installing plugins.
OP has the notetag set correctly, but I wouldn't expect <Cast Animation: 0> to do anything when the animations start at 1.
What even is it doing? It's doing the guard animation then use physical skill? Huh?
the help doc for the battle engine say that making it zero causes it to not have an animation
Yup and I tried this too but the same result.
Spoiler: pic
1699647868403.png
Then I change the animation to (1) and the battler does the same but this time being punched also lol
...erm. That wouldn't do anything except produce an error because there is no animation 0 to start.

The notetag from the Battle Engine Core <Cast Animation: 0> is specific syntax that the plugin knows how to interpret from that specific notetag which means no animation is played.

If the Battle Engine Core and other Yanfly plugins are properly installed and configured, that will do what you're asking.

Edit: What engine are you using? You're talking Yanfly plugins and posting about MV, but the little clip you posted above appears to be using the default MZ battlers.
Well, how amusing. I'm right, but not in the right way. :LZSjoy:

Anyway, as I forgot OP wanted no animation at all, maybe Turan was entirely correct. I've seen enough people forget to start new games after installing plugins.
I've been burned by "tests" so many time I always start a new game and never use test features except for the one that skips the title screen. Just tried hitting escape and starting a new game manually. same thing.

...erm. That wouldn't do anything except produce an error because there is no animation 0 to start.

The notetag from the Battle Engine Core <Cast Animation: 0> is specific syntax that the plugin knows how to interpret from that specific notetag which means no animation is played.

If the Battle Engine Core and other Yanfly plugins are properly installed and configured, that will do what you're asking.

Edit: What engine are you using? You're talking Yanfly plugins and posting about MV, but the little clip you posted above appears to be using the default MZ battlers.
I get no errors and the same result both ways. That could be an indication of a problem... Ugh how do I check to make sure every single plugin is updated? I rebuild my entire project like a year or two ago to make sure it was all the latest stuff.
oh, youre trying to make the sprite not do this?
index.php

thats a motion, not an animation. AFAIK you need to use yanfly's action sequences to not do that for the skill
picard-facepalm.gif
Edit: What engine are you using? You're talking Yanfly plugins and posting about MV, but the little clip you posted above appears to be using the default MZ battlers.
I only use MV but bought them all for the assets.
oh, youre trying to make the sprite not do this?
index.php

thats a motion, not an animation. AFAIK you need to use yanfly's action sequences to not do that for the skill
I was almost going to ask about this... The terminology in this game is more confusing to me that the code! Ok it's all solved, thanks so much guys.
Ah, the Picard facepalm. Legendary.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-other-skills-work-like-guard.162795/