When I have my player character come into contact with one of the villagers, said player character takes 10 points of damage. How does that work?
Problem with Events: NPC "villagers" hurt my Player Character
RPG Maker VXAce SupportI'm afraid we need a bit more information, pics of events please. It could work an infinite number of ways, so we need to narrow it down.
Are you saying you WANT this to happen, or that it IS happening and you want it to stop?
If you want it to happen, you've just got to put the NPC event with Action Button as the trigger (or Player Touch if you just want it to happen when the player bumps into the NPC, or Event Touch if you want it to happen when either the player or NPC bump into each other), and in your list of events, show the message, then do a Change HP event, deducting 10 HP from the party.
If you want it to happen, you've just got to put the NPC event with Action Button as the trigger (or Player Touch if you just want it to happen when the player bumps into the NPC, or Event Touch if you want it to happen when either the player or NPC bump into each other), and in your list of events, show the message, then do a Change HP event, deducting 10 HP from the party.
It can also be that the damage is not done by the NPC-Event, but by the tiles the actors go to. 10 is the base damage for floor damage, and all swamp tiles (and a few more) do this damage automatically.
Original thread: https://forums.rpgmakerweb.com/threads/problem-with-events-npc-villagers-hurt-my-player-character.24782/