I was trying to figure out how to make it to where, if there's a critical hit at any point in my game, it will play a special sound effect.
I found this article, and gave it a shot:
forums.rpgmakerweb.com
I notice the special damage sound effects does play like I want it to, but unfortunately problem is that it is so delayed...
Like, the normal damage sound effect plays, then about a second later, that's when the special damage sound plays.
I want to make it to where it basically just "replaces" the regular damage sound effect with that special sound effect when a critical hit occurs. Without that delay as well...
How can I make this happen?
For context, all I did was follow what the article I linked above does. So all my actors have a passive state with that custom establish effect, and the common event has nothing else but the special sound effect.
========================
I'll list below here what I'm doing for more clarification:
Using Yanfly's Buffs and States core together with the AutoPassiveStates and the lunatic code:
In my Common Even #23, I am just playing a sound effect using the normal Play SE option in the Events Pages.
And all of my actors have the <Passive State: 50> in their notetag databases as well.
I found this article, and gave it a shot:
[SOLVED]Play a sound and animation whenever a critical hit occurs?
Hi, I want to create an effect that whenever a critical hit happens, a shuddering sound plays and blood animation splatters. Kind of like DOTA2's coup de grace, how can I do that? Edit: I was able to play an SE using VE_CriticalHitEffects, but it conflicts with Yanfly's YEP_X_CriticalControl...
forums.rpgmakerweb.com
I notice the special damage sound effects does play like I want it to, but unfortunately problem is that it is so delayed...
Like, the normal damage sound effect plays, then about a second later, that's when the special damage sound plays.
I want to make it to where it basically just "replaces" the regular damage sound effect with that special sound effect when a critical hit occurs. Without that delay as well...
How can I make this happen?
For context, all I did was follow what the article I linked above does. So all my actors have a passive state with that custom establish effect, and the common event has nothing else but the special sound effect.
========================
I'll list below here what I'm doing for more clarification:
Using Yanfly's Buffs and States core together with the AutoPassiveStates and the lunatic code:
Code:
Comment: Inside of my database, this is in my note tag of State 50.
<Custom Establish Effect>
if (target.result().hpDamage > 0 && target.result().critical) {
$gameTemp.reserveCommonEvent(23);
</Custom Establish Effect>
}
In my Common Even #23, I am just playing a sound effect using the normal Play SE option in the Events Pages.
And all of my actors have the <Passive State: 50> in their notetag databases as well.