Status
Not open for further replies.

stramin

Veteran
Veteran
Joined
Nov 4, 2012
Messages
248
Reaction score
111
First Language
spanish
Primarily Uses
N/A
I made some animations to show a combo, they contain text like "X2", "X3", "X4" hits, it works fine when a hero makes a combo on a enemy monster, but when a monster makes a combo on a hero the animation is shown mirrored...

Something like this:
1632621776914.png

I make these animations using Yanfly action sequences script like this:

if(combo>3){
target.startAnimation(194);
}

Is there any way to make some specific animation unable to mirror?
 
Last edited:

TSR

The Northern Frog
Veteran
Joined
Nov 14, 2019
Messages
406
Reaction score
474
First Language
French
Primarily Uses
RMMZ
Hello, mirror is the second argument:
target.startAnimation(194, true); when targeting actors.
Or target.startAnimation(194, target.isActor()) will work for both.
 

stramin

Veteran
Veteran
Joined
Nov 4, 2012
Messages
248
Reaction score
111
First Language
spanish
Primarily Uses
N/A
Brilliant and clean, thank you so much!

Reporting this thread to be closed :kaojoy:
 
  • Like
Reactions: TSR

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,954
Reaction score
14,798
First Language
English
Primarily Uses
RMVXA
Closing as solved.
 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

I just don't know why, but it's funny.
5.gif
Ugh. The one time I forget to save every hour or so is also the day my computer crashes. That's life!
Even though I spent 100's of dollars on my game already. I think I might just have to give it away for free. Since I haven't heard back from people if I could use some of their graphics. Even from a global mod here. Maybe I can make a donation thing.
you know, some days you get resentful that game dev is even considered a "fun job" and other days it's like, welp, time to roll up my sleeves and code these molotov cocktails
If you suck at playing trumpets, that is probably why.

Forum statistics

Threads
115,963
Messages
1,094,429
Members
151,232
Latest member
tamexe
Top