The first time i tried was running a parallel common event in a battle. I set the span to moment and made it active when the first party member is at or below 100% Hp.
You seem to be mixing up some terminology. You can't run parallel common events in battle. Troop events are not common events, and they're not parallel.
When posting screenshots of events, please don't crop off all the settings - you may want to read through the pinned rules thread for this section, which has good advice on how to get good help:
RPG MAKER MV SUPPORT RULES (Last Update: November 21st, 2023) All General Forum Rules apply. Please review and understand these before making a post in this section. If your issue relates directly to a plugin, please use the JavaScript/Plugin Support section or the plugin's dedicated thread...
forums.rpgmakerweb.com
I have attatched a pdf below that shows the code that im running in the note tag of the state that gets applied when a character is KO'd.
Why? Just paste it into your post - who wants to download a separate file and open it up in another window for that?
😛
That's horrible overkill for what you want to do. But it also doesn't look like you're
doing anything. You're just setting them to the default faces, only in a different order than they are by default. You don't have some specific dead face image you want to use?
Like, your event up there shows you changing them to the first face of Actor0, but that's not in your code anyplace.
There's no reason for you to be changing the battlers and character sprites, and no reason for all of those extraneous variables.
The code to do what you want should be pretty short - what's the correspondence between the actor ID and their index in the Actor0 face sheet? We can't see from your event what the actor IDs for each name are.