How to Store/Access the Name of the Last Used Skill in Battle?

Is it possible to access the data for the most recently used move (by enemies or actors alike) as it is used in a battle? I know some plugins can store the last skill used to a variable, but I'm not sure they work for both the actors and enemies.

I'm trying to make the skill's name appear at the top of the screen when it's cast by storing it in a string and displaying it in some way, such as in a Final Fantasy game, but haven't been able to find where to grab the skill name.


1705950361126.png
That's exactly what the battle log already does.

If you want to change how it displays that skill name, without the battler's name in front of it, that's a simple modification (and I'm 100% sure there are already little plugins to do it).

I don't see why you'd try to go through something more convoluted than that. Because you really don't want the last skill used, you want the skill currently being used.
That's exactly what the battle log already does.

If you want to change how it displays that skill name, without the battler's name in front of it, that's a simple modification (and I'm 100% sure there are already little plugins to do it).

I don't see why you'd try to go through something more convoluted than that. Because you really don't want the last skill used, you want the skill currently being used.
That's a fair point. I'll clarify that I'm using the SRPG Engine MV plugin and some other plugins such that the battle log doesn't pop up as a skill is used. Thus I want to see if there are any methods through the base engine that allow someone to access this info so I can work out a solution in my plugin-specific environment.

The battle log is a good lead as to what I could experiment with though! I hadn't thought of that.
That's very important contextual information to provide up front, especially as your example picture is not from an SRPG, but just the regular Final Fantasy battle system.

In that case, this
I want to see if there are any methods through the base engine that allow someone to access this info
is pretty much irrelevant. You have to ask people who are familiar with the specific SRPG plugin you're using because the chances are very good that the way it's using skills and dealing hits and all of that has nothing to do with any of the base engine methods.

If I were trying to make an SRPG that handles skills on the map, I don't know that I would bother with anything from the BattleManager.
CT_Bolt has a pretty extensive Last Action plugin
That's very important contextual information to provide up front, especially as your example picture is not from an SRPG, but just the regular Final Fantasy battle system.

In that case, this

is pretty much irrelevant. You have to ask people who are familiar with the specific SRPG plugin you're using because the chances are very good that the way it's using skills and dealing hits and all of that has nothing to do with any of the base engine methods.

If I were trying to make an SRPG that handles skills on the map, I don't know that I would bother with anything from the BattleManager.
That's a good point. I'll keep tinkering with it and see if I can come up with a more plugin-specific question. Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-store-access-the-name-of-the-last-used-skill-in-battle.165031/