- Joined
- Jul 4, 2019
- Messages
- 151
- Reaction score
- 17
- First Language
- English
- Primarily Uses
- RMMV
I'm trying to set up a button common event, assigning a key to repels NPCs that the player is touching. So far I have it partially working - using the 'v' key while touching a NPC activates my repel common event, and the NPC is repelled, however - it also effects all other map NPCs (that have the switch call) simultaneously. How would I make it only repel NPCs the player is directly touching at the time? Have tried all sorts of things and I'm stumped. Am sure whatever the solution is will be stupidly obvious.
(I'm using Yanfly's Button common events to tie the button to the my repel event.)
Thanks!
(I'm using Yanfly's Button common events to tie the button to the my repel event.)
Thanks!
Last edited:













