How can I show pictures in battle?

In my game, I have a bleeding state and I have been trying to use a common event to show an overlay when inflicted with it, but It doesn't work in battle. How can I do this?
There's no trigger. You'll need to change that to something
Pictures can normally display in battle with no problems. When are you calling that event? Are you using picture #2 anywhere else?

Also maybe try turning off all plugins (save your project to apply Plugin Manager changes before testing) to see if that helps.
There's no trigger. You'll need to change that to something
I made a switch called "Allow bleeding" Which is turned on before the battle but it didnt work

Pictures can normally display in battle with no problems. When are you calling that event? Are you using picture #2 anywhere else?

Also maybe try turning off all plugins (save your project to apply Plugin Manager changes before testing) to see if that helps.
Im pretty sure it works but just for a frame when the player stops bleeding after battle. I made a switch called allow bleeding before the battle but it still didnt work.
Im pretty sure it works but just for a frame when the player stops bleeding after battle. I made a switch called allow bleeding before the battle but it still didnt work.
That sounds like you're calling it from a Parallel or Autorun event? By default those only run on the map.
That sounds like you're calling it from a Parallel or Autorun event? By default those only run on the map.

oh but I though common events can only be called by those or none, so does that mean I have to make it a troop event for each troop or something?
oh but I though common events can only be called by those or none, so does that mean I have to make it a troop event for each troop or something?
Common events can be called:
  • With the Common Event command (from any event), or
  • With a Common Event effect on a skill/item.
To refresh the picture at the correct times, perhaps consider calling it in 2 places:
  1. Add a Common Event effect to any skills that can add the "Bleeding" state.
  2. Add a troop event to all troops, with Condition: Turn End, Span: Turn.
Note: if you have anything that has an "Attack State: Bleeding" trait, then point 1 includes all skills with an "Add State: Normal Attack" effect.

(There might be a plugin that simplifies this, since it looks like the picture in this case is basically a HUD element.)

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-show-pictures-in-battle.164354/