Hello!
I'm trying to make a slip effect that can randomly cancel someone's action if he battles on Ice.
(And with right Boots you can avoid this effect. (I took this idea from my favorite game DOSII)
So the effect works perfectly, but one thing is missing: I want the user to do the "dead" motion when he slips.
I was able to do that in action sequences with "motion dead: user" but this obviously don't work in "<Custom Action Start Effect>
It should look like this, but I don't know how to trigger the motion:
if (Math.random() < SlipRate) {
user.startmotion"dead";
I found how to play an animation there, but this isn't gonna help me out.
user.startAnimation(x);
(I use Yanfly's scripts, like Buffs&StatesCore here)
Please help me!! Without this the effect is gonna look really bad... :/
I'm trying to make a slip effect that can randomly cancel someone's action if he battles on Ice.
(And with right Boots you can avoid this effect. (I took this idea from my favorite game DOSII)
So the effect works perfectly, but one thing is missing: I want the user to do the "dead" motion when he slips.
I was able to do that in action sequences with "motion dead: user" but this obviously don't work in "<Custom Action Start Effect>
It should look like this, but I don't know how to trigger the motion:
if (Math.random() < SlipRate) {
user.startmotion"dead";
I found how to play an animation there, but this isn't gonna help me out.
user.startAnimation(x);
(I use Yanfly's scripts, like Buffs&StatesCore here)
Please help me!! Without this the effect is gonna look really bad... :/