How to make guard NPCs/Pokemon trainer encounters

Jaxer

Villager
Member
Joined
Aug 7, 2016
Messages
6
Reaction score
0
First Language
Finnish
Primarily Uses
I want to add guard NPCs that walk back and forth in the movement pattern I set to them, and you would be teleported back to the beginning of the stage if they see you(Kinda like Pokemon trainer encounters, y'know), but I have no idea how to do that! There's no 'seeing you'-option in the Trigger Condition menu, or anything else like that. I would really appreciate it if someone who knew about stuff like this would help me.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,784
Reaction score
7,875
First Language
German
Primarily Uses
RMMV
you need to make a parallel process comparing the position of the player with the position of the guards.


The more complex the map (sight obstacles) the more complex that event will be.
 

Jaxer

Villager
Member
Joined
Aug 7, 2016
Messages
6
Reaction score
0
First Language
Finnish
Primarily Uses
you need to make a parallel process comparing the position of the player with the position of the guards.


The more complex the map (sight obstacles) the more complex that event will be.

Thanks, but how to use the parallel process? Sorry that I'm a noob, but can you post a screenshot or something?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,784
Reaction score
7,875
First Language
German
Primarily Uses
RMMV
How do I do that? I know nothing about scripting in RPG Maker.

The linked tutorial contains no scripts, that is simple event code there.


I suggest you follow the link to the "starting point" in my signature and take a month to work through those tutorials as everything so far was nothing but basic events, and that is something you'll need to learn forward and backward if you want to make a game with any RPG Maker.
 

Latest Threads

Latest Posts

Latest Profile Posts

Not sure if it's true (and I won't judge or blame anyone if it is, really), but I heard from confident sources that you guys (and girls) really really like to
How is this new year for everyone? Hope you are well. Still deep in Covid in the US. Its like a vampire and refuses to die with even more strains. I need some holy water to kill it with.
in my game, what's known as HeadSpace is combining with the real world...
oh looks like the forums updated while I wasn't looking and we can put a banner now. Neat!
Treating this as a devlog

Forum statistics

Threads
107,665
Messages
1,031,264
Members
139,790
Latest member
TransDiv
Top