I have armor pieces that give you certain skills when equipped. I'd like to implement battle cries manually.
WHAT I'M TRYING TO ACHIEVE...
-Battle cries playing appropriately depending on which actor is attacking using the same skill.
HOW I'M BREAKING IT DOWN...
-During battles, I want this skill to detect which actor is currently attacking with the current skill. (I use Action Sequences by Yanfly)
Below shows what I believe needs to be done...
Items marked in red are what I am having trouble doing...
How do I check which actor (whos turn it is) is currently attacking with Skill X.
This way if actor 1 uses Skill X, it plays a sound, next actor 2 attacks, Skill X detects which actor is attacking and plays the appropriate sounds. Actor 3 then attacks, and so on until the end of the turn.
WHAT I'M TRYING TO ACHIEVE...
-Battle cries playing appropriately depending on which actor is attacking using the same skill.
HOW I'M BREAKING IT DOWN...
-During battles, I want this skill to detect which actor is currently attacking with the current skill. (I use Action Sequences by Yanfly)
Below shows what I believe needs to be done...
*Actor 1 uses Skill X
*Skill X Action Sequence enables a variable to select the right sound, so variable play_sound is set to 1. Skill X then runs Common Event 1 which detects which actor is currently using Skill X
*Common Event 1 identifies the actor and runs Common Event 2
*Common Event 2 checks which variable is enabled, then plays the appropriate sound and disables the variable.
*Skill X Action Sequence enables a variable to select the right sound, so variable play_sound is set to 1. Skill X then runs Common Event 1 which detects which actor is currently using Skill X
*Common Event 1 identifies the actor and runs Common Event 2
*Common Event 2 checks which variable is enabled, then plays the appropriate sound and disables the variable.
Items marked in red are what I am having trouble doing...
How do I check which actor (whos turn it is) is currently attacking with Skill X.
This way if actor 1 uses Skill X, it plays a sound, next actor 2 attacks, Skill X detects which actor is attacking and plays the appropriate sounds. Actor 3 then attacks, and so on until the end of the turn.