Q: Images States and Dynamics

Meowdy,

I have basic experience with RPG Maker and can manage to accomplish most of the demands of my projects without issue. Though, as of recent developments, I've run into a pitfall with a vital core concept that must be present in the game.

Dynamic Image States


This has most likely been touched on before already as quite a few different RPG Maker games use this mechanic.

A persistent image of an actor(s) displays during map travel and battle scenarios. These images also reflect the various conditions and states that the actor(s) could experience. Such examples could be an image for various health levels (healthy, damaged, death), equipment, and various debuff states (poison, stun, paralysis).


Inflict (Posion) —> Actor image (Neutral) switches to Actor Image (Poison) for duration of state.

For the most part, I am able to display images of an actor during map travel and battle scenarios, but I'm not quite sure how to approach making them dynamic to reflect these other states. I've mostly been relying on event managers, common events, and switches to accomplish most of my needs.

Is there a fairly easy process to create this kind of "system" either with just switches or scripts?
Moving to RGSS3 Script Requests


because I think a script would be the best way to do this.


You COULD do it using events, but states are only added and removed by certain actions, so doing it would require you to have a parallel process event running ALL THE TIME when it's likely that the image will only change when you finish a battle or after you use an item or skill from the menu. Having an event running all the time on the map, when the trigger to change the photo will never actually occur on the map, doesn't make sense.
I not even realy sure what he want. It sounds so multi meaning style.
He wants a hud with an image of the actor that shows a different version depending on what states are applied.


He even gave an example - the neutral image of the actor changes to a poisoned version when the actor is poisoned.
That's probably an easier way to put it. I see it done quite often yet I can't seem to replicate it or find the appropriate references such as tutorials, scripts or anything.
Do you want it in a new window or did you mean on the Status Screen? 😳

Original thread: https://forums.rpgmakerweb.com/threads/q-images-states-and-dynamics.37320/