Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Is there a way to program when a block happens, it uses the characters/enemy guard motion?

Good day.

The default block effect, which is a custom react effect on the block state, and is included in the help documentation contains a line:

target.requestMotion('guard')

This line sets the target to doing a guard motion. I've noticed when using the yanfly CTB battle system, that while it does make this motion, it almost instantly returns to the idle stance right afterward. In the default battle system, the guard motion spends a full 15 frames (or more maybe?) before returning. There are gifs of both on the store page showing it happening in both systems.

If you want to show a different motion, or any motion at all, you can duplicate that line somewhere else in the react effect, or change 'guard' to the other motion types, the parry extension uses the attack motion of the equipped weapon, for example.

~Ramza

thanks! and yes I saw the gifs so i was kinda confused, but the ctb is probably the issue.