An open library of RPG Maker MV plugins, powered by the community.

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

Fix Move Away Player - FixMoveAwayPlayer.js

Plugin desc : Fixed behavior of moving away from the player

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com/

Desc page : https://triacontane.blogspot.com/

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/FixMoveAwayPlayer.js

File name : FixMoveAwayPlayer.js

Help of plugin :

@url https://triacontane.blogspot.com/
@plugindesc Fixed behavior of moving away from the player
@author Triacontane
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/triacontane-MV-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----
FixMoveAwayPlayer.js

Modifies the process of an event moving away from the player as follows:

1. If the player and event are at the same coordinates,
Do not move -> Move randomly

2. If the player and event are at the same X coordinate as the player and
cannot move forward,
Do not move -> Move randomly left or right

3. If the player and event are at the same Y coordinate as the player and
cannot move forward,
Do not move -> Move randomly up or down

Terms of Use:
You may modify and redistribute this plugin without permission from the
author, and there are no restrictions on its use (commercial, 18+, etc.).
This plugin is now yours.

スポンサードリンク

-MV plugins

Copyright© PGMV - The Community-Driven Plugin Library for RPG Maker MV , 2026 All Rights Reserved.