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,837
Reaction score
7,896
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,837
Reaction score
7,896
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 Profile Posts

>Testing with fonts change.
>Tries installing a plugin. Doesn't work.
>Tries changing the plugin commands. Doesn't work.
>Tries installing another plugin. Doesn't work.
>Changes a few more plugin commands. Doesn't work.
>Goes directly to the gamefont file and changes the src. Works.

YYEEEAAAAHHHAAAA

Perseverance is key, bois and girls.
What Reviews say on RPG Maker MZ?
Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.
Everything's going to be alright! We're all in this together. <3
Aaaaannd published my game's tech demo. :D

Feel free to download and play it. And give feedback!

Forum statistics

Threads
107,802
Messages
1,032,317
Members
139,947
Latest member
bitepp
Top