How to make a NPC attack you after some dialog

Hi guys I'm completely new to the RPG Maker community (got it on the steam sale) and just have a quick question-

I want to have my character talk to an NPC, then the NPC gets "mad" and attacks my character. How do I make this happen?

I have no experience with scripting so please if you tell me to script something (no matter how basic) pleaseee link a tutorial or something as well.
This is not scripting - it's simple eventing.


On your NPC event, add the dialogue, then use the Battle Processing command to initiate a battle. Afterwards you might want to turn on a switch or self switch and add another page conditioned by it, if you don't want the NPC to be there anymore after the battle.


This is pretty basic stuff, so you might find the link in my signature useful.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-npc-attack-you-after-some-dialog.40458/