Am trying to make it so after enemy hits you they say something with yanfys message extented pack 1 plugin, but am having trouble

I am trying to make it so after enemy hits you they say something with yanfys message extented pack 1 plugin but am having trouble with targeting

right now i have it so when an enemy uses a skill it triggers a common event
1654456307653.png
1654456191754.png


the event above will always make the first enemy in battle say it but does anyone have any idea how I could make it so the enemy who triggered the common event is saying the dialoged instead?
there are several ways, but basically you have to mark the target or user or both with an invisible state (no message, no icon) and then have the common event check which enemy or actor has which state before giving different show text based on that.
it is possible, but the required checks (who has state) by conditional branch can get tedious based on the effects you want and where the skill can be used.

oh - and the verb is taunting, you misspelled it twice.
Doesn't that [1] in autoenemy[1] mean the index number of the enemy? So now in your common event the text will always appear above the enemy that has index number of 1. Can that number be expressed as a variable, like \V[x]? And then in your common event you can control a variable to be the last enemy to act index. If not, just make a number of conditional branches for the number of enemies you have in your troop. In MZ you can use control variable to get last enemy to act index. In MV you probably need some script call for that, which I don't know. Also, I'm not sure if this works LOL 😀
In MV you probably need some script call for that, which I don't know.
that is because it doesn't exist. The OP would need a plugin to create anything like that, which is why most people use the workaround with the states.

Original thread: https://forums.rpgmakerweb.com/threads/am-trying-to-make-it-so-after-enemy-hits-you-they-say-something-with-yanfys-message-extented-pack-1-plugin-but-am-having-trouble.148253/