MZ Plugin to check if an animation has started on specified events, and if true, call a common event?

This plugin could monitor if specific animation Id’s start playing on specified map events and use a common event each time.

For ease of use, the Plugin Settings Parameter could be used to set each animation Id and more:

Animation #1
Animation #2
Animation #3
Animation #4
Animation #5

etc…

When clicking one of them, you could configure them with settings like this:

Animation Id: (the animation id to monitor)
Map Event Id: (one or more Map Event that are monitored when the animation id starts on them)
Common Event Id: (Common Event Id to call. Optionally, have a way to trigger multiple Common Events)
You can have CT_BOLT'S ObjectsEx monitor variables, you just have to store the values you want in those variables

You can have CT_BOLT'S ObjectsEx monitor variables, you just have to store the values you want in those variables

How exactly would I use it to check if an animation is playing on certain events?
How exactly would I use it to check if an animation is playing on certain events?
Where and how are you calling an animation to play on an event? You can add a line there to store that animation id you just called into a variable, which would trigger the plugin because you just changed its value.
The animation id is called using Galv's map projectiles, when a projectile hits an event with the comment <projEffect:2>, the animation id specified is played at the event's location. An example of what it looks like:

◆Set Movement Route:This Event (Wait)
:Set Movement Route:◇Script:Galv.PROJ.atTarget(this.eventId(),1,5,4,'turret_projectile1',30,'|c(20)',[5,6],[6],4,2);
Here, the animation id 30 is used when hitting an event with the comment inside it. Common Event id 20 plays if a map event with <projEffect:2> it hit, but that's my current issue. If the projectile misses and hits another map event with <projEffect:2>, the Common Event won't make sense since Common Event id 20 and Map Event id 1 are meant to be used together always.

The projectiles are shot from different map event ids using a script inside a Set movement route with the appropriate details. The Common Event itself serves at lowering values to deal damage.
Then you would have to add that line to the function in Galv Map Projectiles if that's what's calling it.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-to-check-if-an-animation-has-started-on-specified-events-and-if-true-call-a-common-event.166068/