I Don't Know Why This Wasn't Working But It's Fixed Now

That can't possibly make any difference. There's no way that playing a sound effect somehow interferes with taking away HP.
Well, it is. That's the only explanation I can come up with, because like I said it's not a plugin, and it's not a player party thing. I can only think of it having to do with the sound effect coming first because of the fact that the guy who tested this out with an event in his own game was able to successfully hurt himself with an event, but I noticed unlike me he had "lose 10 HP" as the first event command so there must be a correlation.
Are you using any plugins that change the party roster or how reserve characters work?
No. I'm not. Nothing like that.

Starting to think maybe I should recreate the event from scratch. I've done that before, and things that didn't work suddenly worked again.
Well, it is. That's the only explanation I can come up with, because like I said it's not a plugin, and it's not a player party thing.

No. I'm not. Nothing like that.

Starting to think maybe I should recreate the event from scratch. I've done that before, and things that didn't work suddenly worked again.
What about your states and common events? Any parallel events on your map?
What about your states and common events? Any parallel events on your map?
No. There aren't any on any of the maps I'm using (none of those mentioned three).
1692998607238.png

This is my version of a trap though, has a lot more stuff before the change HP (including SE going first), so I really doubt the SE has anything to do with it... but yeah, maybe a HP regen state's active that instantly heals the lost HP because it normally doesn't deactivate regenerating on maps?
Well, it is. That's the only explanation I can come up with, because like I said it's not a plugin, and it's not a player party thing.
It must be something.

1692998647301.png


This works absolutely perfectly. Everyone is down 10, and the person who could die from that did.

1692998667350.png


But if you're determined that you know the secret answer, even though you can't get it to work...good luck 😛
This is my version of a trap though, has a lot more stuff before the change HP (including SE going first), so I really doubt the SE has anything to do with it... but yeah, maybe a HP regen state's active that instantly heals the lost HP because it normally doesn't deactivate regenerating on maps?
No, I don't have an HP regeneration thing in my game. Again I think this must have something to do with programming order in events.
Did you try re-ordering it though, resulting in it fixing itself? Because that normally shouldn't affect anything... What plugins are you using?
It must be something.
But if you're determined that you know the secret answer, even though you can't get it to work...good luck 😛
Yeah, or I could just get rid of these stupid trap hazards and just move on with the rest of the gamemaking process. Oh well, thanks for trying to help. Either way game is progressing along
in a way I really like and I'm having fun, so whatever.

Did you try re-ordering it though, resulting in it fixing itself? Because that normally shouldn't affect anything... What plugins are you using?
Ugh...could you all please not respond so quickly? I can barely get anything down before someone else makes another post LOL....:stare:

Plugins I am using are: ok there's a ton it would take forever to list them all off, but none of them affect HP, or events, or anything like that. They just do things like, for example, add a biography page to each characters profile I can make as long as I want, and stuff.
No, I don't have an HP regeneration thing in my game. Again I think this must have something to do with programming order in events.
In the nicest possible way, I implore you to trust us as the people who have been using this engine a lot longer and are well aware of its inner workings and idiosyncrasies: it is 99.9% certain not to be anything to do with the order of your event commands. "Change HP" is pretty much entirely agnostic from any other event command in the engine, and interacts in no way with the other ones.

When you turned your plugins off, did you remember to manually save your game so that plugins.js would update accordingly?
No, I don't have an HP regeneration thing in my game. Again I think this must have something to do with programming order in events.
Then try removing everything from the event page EXCEPT the HP damage to party. Also you don't have any actor traits with invulnerability or maybe equipment?
Then try removing everything from the event page EXCEPT the HP damage to party. Also you don't have any actor traits with invulnerability or maybe equipment?
No-I didn't give my actors any traits. And there's no equipment they have that makes them invulnerable. Again, like I said, damage in battle still occurs normally from enemy attacks, so it couldn't be a trait, state or equipment, or otherwise that wouldn't work either (getting hurt in battle).
It's hard to tell if they don't affect anything like HP if we don't actually know which plugins there are, though. If turning it off doesn't fix anything, yeah, save the project + start a new game (don't load saved game) is probably a good idea?
It's hard to tell if they don't affect anything like HP if we don't actually know which plugins there are, though. If turning it off doesn't fix anything, yeah, save the project + start a new game (don't load saved game) is probably a good idea?
No, I think I'll just get rid of these bear traps because they're not essential to the gameplay experience, because I've lost my patience with them LOL. At least everything else in the game functions like it should. Also I started a new game and they behaved the same way, so that's not it. Anyway, thanks for trying to help guys. I'm sorry if I wasted all of your time. 🙁
I think some outside the box thinking is necessary here. You might have named one of your actors "Entire Party" and are actually changing his HP, even though he only joins later!
I think some outside the box thinking is necessary here. You might have named one of your actors "Entire Party" and are actually changing his HP, even though he only joins later!
Checked that too. Nope. Only two characters in my party right now are Spyro and Sparx the dragonfly. Only other character I could add to the party is Cynder, and Spyro hasn't run into her yet.
Maybe Spyro and Sparx don't take damage from bear traps because they can fly.
Maybe Spyro and Sparx don't take damage from bear traps because they can fly.
No, that's not it; I didn't make them immune to bear traps either. Hey guys I've only got 20 minutes left here so we might want to come up with something FAST. I have to eat dinner!
You... can always catch up later? 😅 However, still confused on how this even happens.
You... can always catch up later? 😅 However, still confused on how this even happens.
I don't understand it either LOL. It makes no sense. This SHOULD be working. I mean I have an MLP game I'm working on too and there are traps in it as well but the traps always hurt you like they should!
Oh my God LOL...I hate computers sometimes. I think it's a malfunction within the directory or something. I mean with another game I was making I had something like this happen.
I don't understand it either LOL. It makes no sense. This SHOULD be working. I mean I have an MLP game I'm working on too and there are traps in it as well but the traps always hurt you like they should!
Oh my God LOL...I hate computers sometimes. I think it's a malfunction within the directory or something. I mean with another game I was making I had something like this happen.
What happens if you change the damage to just Spyro or Sparx specifically rather than entire party?

Original thread: https://forums.rpgmakerweb.com/threads/i-dont-know-why-this-wasnt-working-but-its-fixed-now.160626/