So for my combat system I need an event to trigger every time a character attacks an enemy. (The event includes a text pop up that prompts the user a multiple choice question and they have to answer it. a wrong answer means the attack fails, a right answer mean the attack goes through.) I searched event manager but couldn't find anything. Any ideas?
Event upon attack
RPG Maker MV SupportHave a common event attached to the skills and handle the questions in there.
However you'll need plugins for that to work because of the way the engine handle the common events by default, at minimum tsukihimes common event queue and perhaps modifications to whatever you're using as battle system.
Failing that I can only think of a troop event with span = moment triggered by a switch, and have that switch ON by damage coding in the skill while setting it OFF again at the end of the troop event.
However you'll need plugins for that to work because of the way the engine handle the common events by default, at minimum tsukihimes common event queue and perhaps modifications to whatever you're using as battle system.
Failing that I can only think of a troop event with span = moment triggered by a switch, and have that switch ON by damage coding in the skill while setting it OFF again at the end of the troop event.
Original thread: https://forums.rpgmakerweb.com/threads/event-upon-attack.88225/