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,734
Reaction score
7,851
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,734
Reaction score
7,851
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

HexMozart88 wrote on Citali's profile.
Kikuo!
The lack of bike trails and bungee jump areas in this city should be criminalized.
SF_Actor3_8 added!



A recent screenshot that I also shared on Reddit and the likes, links in my signature if you want to follow :)


I am starting to get a hang of this parallaxing mapping business. Still inexperienced, but at least I can be a lot more creative now :)

Forum statistics

Threads
107,416
Messages
1,029,546
Members
139,543
Latest member
Antrixdoesstuff
Top