RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Event help

Started by soccerdude240, December 04, 2010, 07:46:20 PM

0 Members and 1 Guest are viewing this topic.

soccerdude240

I have a spot where you can only walk into the NPC, and that causes a fight. After the fight, I want the NPC to die or disappear allowing the character to walk by. But after the fight the NPC still stays at the spot. I used to have a teleport after you win the fight, but I was wondering if there was a better way of doing it and having 3 copies of the world map. Thanks
Edit. RPG2k3
"This is not death. This is sacrifice." Grahm Aker.
SOG Gundam

your signature is stupid

Sirius

I'm not entirely sure I understand your question, but I'll give it a shot anyway...

Okay, this is my basic understanding (please correct me if I'm wrong :)). You want to fight an NPC blocking your path, and when you win, he disappears with a magical flourish of wonder and majesty. But when you come back, he's back too, and you have to fight him again.

There's a very easy fix for this: you could either assign that monster to a switch which toggles back on when you leave the map, or you could use the wonderfully obscure Erase Event command (although you should almost never use that command; make sure you clearly understand how switches work if you want to take this shortcut). So say you run into the NPC (maybe with a set by collision event where he says "You... Shall not... Pass!" like Gandalf), then initiate the battle. The very next line should just say Erase Event, and *poof*, no more monster. The good thing about Erase Event, though, is that the event reappears when you leave & come back.

Again, correct me if I misunderstood your question...

soccerdude240

Thats about all thanks. I'll try it and say my results
"This is not death. This is sacrifice." Grahm Aker.
SOG Gundam

your signature is stupid