The Correct Way to Chase the Player | Pathfinding - RPG Maker MZ Horror Tutorial (Intermediate)

Never let your chaser be stuck behind a wall again! Note: This uses the internal pathfinder system in RMMZ. As with anything that uses the internal pathfinder, it has a limit and will not be successful for large maps. 0:00 Intro 1:37 Inputting the code 3:23 Version 1 4:06 Version 2 - Using Variable Script Calls 7:53 Remember to like the video! List of Script Calls: https://bit.ly/3qmTwMd (Make sure the code is all on one line) Version1 $gameMap._events[this._eventId].moveStraight($gameMap._events[this._eventId].findDirectionTo( $gamePlayer.x,$gamePlayer.y )); Version2 $gameMap._events[this._eventId].moveStraight($gameMap._events[this._eventId].findDirectionTo( $gameVariables.value(19),$gameVariables.value(20) )); where VariableID#19 is PlayerX VariableID#20 is PlayerY ►I'm currently working on a game right now called Caster's Trap. Follow the Dev Vlogs here on YT or instagram for BTS: Dev Vlogs: https://bit.ly/3hx7h7X Behind the Scenes: https://bit.ly/2LcTJCg ►My latest published game as of the upload date. The Haunting: Project PhasmoRPG (And it's Free!) →itch.io: https://bit.ly/2WY3Y09 →Game Jolt: https://bit.ly/34ZTe5L ►Social Media and Game Profile Pages →itch.io: https://bit.ly/3rG0ptH →Game Jolt: https://bit.ly/3pH6Omw →Instagram: https://bit.ly/2LcTJCg →Twitter: https://bit.ly/3o0GMtX ►For business inquiries: →[email protected]