Change battleback when the player attacks an enemyy?

I'm trying to figure out how to change the battleback in a battle only when the player attacks an enemyy (I'm using RPGMaker MV)

Whenever the player would attack said enemyy, the battleback would only change during the attack and then revert back to the original battleback it was set att, how would I be able to do thiss?

I have a mock-up of thiss, in case my explanation is hard to understandd: X">
Yanfly's Skill Core has notetags you can put in a skill (such as Attack) that go off at various times - before the skill starts, after it resolves.

Then you'd just Google the script call to change the battleback image to put inside those notetags.
Yanfly's Skill Core has notetags you can put in a skill (such as Attack) that go off at various times - before the skill starts, after it resolves.

Then you'd just Google the script call to change the battleback image to put inside those notetags.
Don't know why I never got the notif for this reply until noww, aaa

Where would the notetags be for an attack commandd? Where would be the right command for putting it during the skilll?
Where would the notetags be for an attack commandd?
In the instructions for the plugin.

Where would be the right command for putting it during the skilll?
Then you'd just Google the script call to change the battleback image

First result leads to:

So you'd either Google the script call to call a common event with the event commands in that second plugin, or use the code provided in it: BattleManager.changeBattleback("name1", "name2")
Hmmm, I'm trying to call a common event with it buut it doesn't seem to workk, are my notetags wrongg? 'Cause I'm thinking that's the problemm

image.png
image.png
Hmmm, I'm trying to call a common event with it buut it doesn't seem to workk, are my notetags wrongg? 'Cause I'm thinking that's the problemm

image.png
image.png
JSJSS I just realized these are script calls in the first screenshott, no wonderr X"DD
JSJSS I just realized these are script calls in the first screenshott, no wonderr X"DD
... Oh my gosh all I had to do to call it was press a button in the attack skill menu I feel so dumbb X"DD
... Oh my gosh all I had to do to call it was press a button in the attack skill menu I feel so dumbb X"DD
I finally got it figured out thoughh, thanks for the helpp X)

@Kevonica_, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/change-battleback-when-the-player-attacks-an-enemyy.163345/