PhoenixTilea
Member
Okay, I need a line(s) of script I can put in an event that will show an animation on an event depending on what a variable is set to.
What I mean is that in common events, when selecting 'Show Animation', you can only choose from the player, 'this event', and some listed event IDs. However, I'm doing sort of a small event-based battle system, and I need to be able to show animation on the particular enemy the player happens to be fighting. This is all on the map, so there are no 'targets' and whatnot.
What I need to be able to do is set a variable equal to an enemy's event ID, then show the animation on the event who's ID is equal to that variable. I know it has to be done with a script. Is there anyone who knows how to do that?
What I mean is that in common events, when selecting 'Show Animation', you can only choose from the player, 'this event', and some listed event IDs. However, I'm doing sort of a small event-based battle system, and I need to be able to show animation on the particular enemy the player happens to be fighting. This is all on the map, so there are no 'targets' and whatnot.
What I need to be able to do is set a variable equal to an enemy's event ID, then show the animation on the event who's ID is equal to that variable. I know it has to be done with a script. Is there anyone who knows how to do that?