Skill Motion

Skill Motion
By DreamX



Introduction/Features


This is a simple script that allows you to specify the single motion done by a skill. This is useful if, for example, you have a skill that you want an actor to perform the default attack motion with, or you want the actor to use a different weapon, or you just want the actor to perform a specific motion.
This is probably all achievable by other, more complex plugins like Yanfly's Action Sequences, however this is a simple and easy way to change the motion if you haven't mastered those or don't need them to achieve what you want.


How to Use


Right click the script link and save as a .js file.


 You can use one of the following notetags on a skill:
 <OverrideMotion:x> with x as the motion to use for the skill. Does not include
 weapon sprites.
 
 <WeaponMotion:1> to use the default attack motion, which is based on your
 equipped weapon.


 <SpecificWeaponMotion:x> with x as the weapon type id (from the Types tab in
 the database). It will use the weapon sprite and motion you specified for that
 weapon type. You can check/set the motion and sprite in the System tab in the
 database.
 
 Here is a list of the default motions:
 walk
 wait
 chant
 guard
 damage
 evade
 thrust
 swing
 missile
 skill
 spell
 item
 escape
 victory
 dying
 abnormal
 sleep
 dead



Script


Credit and Thanks
- DreamX


Author's Notes/Terms of Use
Free to use and modify for commercial and noncommercial games, with credit.
Nice plugin.


Would it be possible for a futur update to apply is also on state ?


State have also a limited of SV motion possible.
Nice plugin.


Would it be possible for a futur update to apply is also on state ?


State have also a limited of SV motion possible.

I am not sure what you are asking. Do you mean to have a battler do a motion when they have a certain state?
I am not sure what you are asking. Do you mean to have a battler do a motion when they have a certain state?

Yes.

Would it work basically the same as the [SV Motion] option in the database for states?
Would it work basically the same as the [SV Motion] option in the database for states?

Yup
Does this work with Dragonbone?
Does it work with Yanfly's SV enemies?
Based on a look at the code, it is extremely unlikely. I don't know how Yanfly's SV enemies actually works so I can't be 100% certain.
I tried, and it seems to be working. But I can’t be sure it will work for everything.

Original thread: https://forums.rpgmakerweb.com/threads/skill-motion.59704/