I’m pretty new to RPG Maker but I got this idea for my game where saying a certain thing to an NPC will make them turn on you and they will become the final boss or something like that. How would I make this feature?
NPCs that turn on you
RPG Maker MZ SupportThis can have a number of levels of complexity. The simple concept of this is that your NPC leaves your party and becomes an enemy troop. It may not be obvious but an enemy troop of your NPC would then have to be created and later part of a battle scene. As for story progression and game progression that is all up to you but overall this is a fairly straigtforward ask.
Just want to point out that an NPC, by definition, is not a character that is ever in your party, unless they're an uncontrollable guest. Non-player character, remember? Plus you've left out some important things.
@Smoothbrick578 To address your question, this is something that will require use of either a variable or a switch. The simple explanation is that you would flip a switch or set a variable, allowing you to have whatever event that leads to your final boss to call up an altered boss instead. If you are unfamiliar with using switches and variables, you will need to check out a tutorial for them because they're very important tools in the dev process.
You choose what graphics are used for every enemy in the Enemy tab of your database.
You choose what sprite is used for every event when you're editing the event on your map.
So you just make the image for this NPC event match the battler for the enemy (most of the humanoid things in the default assets have both battlers and map characters already, but if you're looking at one that doesn't, there are threads called "What the RTP is missing").
If you're asking how you'd represent the story of this, as Sword said this is pretty basic event logic using a switch or variable. You might want to do some more tutorials with eventing (there are kind of tons on YouTube, in addition to MZ's built-in tutorial) before you try to dive into creating your own full game with a story and all.
For your purposes, any MV eventing tutorials will also teach you for MZ.
Original thread: https://forums.rpgmakerweb.com/threads/npcs-that-turn-on-you.153242/