Hey there. I tried searching around a bit on Google and on this forum and couldn't find answers to these questions, so I figured I'd post a thread. I'm new and working on my first RPG Maker game, using VX Ace.
I wanted to make an RPG where death comes with a cost. The idea is that every time the player heals himself and/or dies, the energy has to come from somewhere-- in this case, each time the player heals himself with a specific item [Mysterious Amulet] or dies (I added a script that makes the player respawn on death), an NPC in the village will die.
So, I have two questions related to this:
1. How can I track the Amulet usage?
I was thinking I could add a variable that is incremented each time the player uses the amulet, whether intentionally in the inventory, or automatically when they die. At each new interval, a new NPC would be removed. (So, for example, if iAmuletUsage == 1, it turns on a switch that one of the village NPCs needed to appear, so that NPC is no longer around). I'm not sure how to have a variable that increments every time an item is used, though.
2. How can I change NPC dialogue?
I want the NPCs to react differently / say different things every time a new NPC goes missing, thanks to the player's death. But since NPCs are events... is there an easy way to do this?
Like I said, I'm new, and this is my first project, so if there are better ways to do the things I described, please let me know.
Thanks in advance!