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?
How can I show pictures in battle?
RPG Maker MZ SupportThere'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.
Also maybe try turning off all plugins (save your project to apply Plugin Manager changes before testing) to see if that helps.
I made a switch called "Allow bleeding" Which is turned on before the battle but it 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.
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.
- Add a Common Event effect to any skills that can add the "Bleeding" state.
- Add a troop event to all troops, with Condition: Turn End, Span: Turn.
(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/