Pickpocketing event

frederik850

Villager
Member
Joined
May 17, 2014
Messages
91
Reaction score
1
First Language
dutch
Primarily Uses
I want a pickpocketing event where the player can steal something, when he presses the action button or just a random button when he faces the same direction as the NPC. I know you can do that with the conditional branch: "player is facing down/ or up...". But that won't work if the NPC has random movement. I tried the event in the picture as well, with and without direction fix, but that didn't work either. Any suggestions on a solution? 

Naamloos.png
 
Last edited by a moderator:

Silent Darkness

Robomage
Veteran
Joined
Nov 28, 2013
Messages
2,283
Reaction score
323
First Language
English
Here's an idea.

Set an infinitely running parallel process event page that causes the NPC in question to not move when the player is one block's space away, using a move route that is literally just a wait command.
 

frederik850

Villager
Member
Joined
May 17, 2014
Messages
91
Reaction score
1
First Language
dutch
Primarily Uses
How can you determine the player is one tile away?
 

NoahB

Composer
Veteran
Joined
May 4, 2014
Messages
100
Reaction score
73
First Language
Swedish
Primarily Uses
RMVXA
How can you determine the player is one tile away?
Through the "Player Touch" trigger, I believe. Though, it really depends on what is meant with "one tile". 
 

frederik850

Villager
Member
Joined
May 17, 2014
Messages
91
Reaction score
1
First Language
dutch
Primarily Uses
The player touch command doesn't work because the npc automatically looks towards you hence the "You can steal" command never gets displayed. i tried direction fix, and it works, but than the npc is just walking around weird looking in the same direction the whole time.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top