I'm making an event where during a conversation another NPC is deleted, and I was wondering if there was a way to do this...
How do I make an NPC delete a seperate NPC?
Event that can delete other events?
● ARCHIVED · READ-ONLY
-
-
you don't - the idea itself opens more cans of worms that you might think.
In a cutscene, you need one controlling event that handles the entire scene - all other events pretending to be NPCs or whatever should be remotely controlled by that one controlling event, and that includes moving them out of the way by set move route if they are no longer needed.
And you don't erase the events in such cases, you switch them to a second page that has no sprite, or remove the conditions from the only existing page (depending on how the cutscene is structured) -
Okay, so let's suppose you can talk to this other Event/NPC separately.
How can I make the other NPC select an NPC and set it on a path or change it's sprite? -
set move route command - targeted on the other event (you can change the target of the command in the drop-down list top left)
-
Script call command:
$gameMap.event(n).erase();
It is kinda ugly but I think that works. n is the event number. -
That's helpful to know, now how to I make it so an Event can change another Event's Image/Sprite?
-
I'm trying to make it so after you make it all the way around to the side of a cliff a bridge will open up as a shortcut.
Is there a way I could make something like that appear? -
[dpost]Rangarl[/dpost]
Again, either by set move route command (as I told you above) or by using multiple pages and switches.That's helpful to know, now how to I make it so an Event can change another Event's Image/Sprite?
I suggest you follow the link to the starting point in my signature and work through the eventing tutorials there, because those are basic event commands.