The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Rave on March 02, 2014, 08:01:10 PM

Title: [VXA] Khas pathfinder: How to check if event finished moving?
Post by: Rave on March 02, 2014, 08:01:10 PM
How can I check if event had got to end of the path using Khas' pathfinder? I'm using it along with proximity detection script to implement stealth mechanic in my game and after reaching end of path I want them to start battle using default battle system. However I don't know how to detect if event reached end of the path. Any help?
Title: Re: [VXA] Khas pathfinder: How to check if event finished moving?
Post by: modern algebra on March 02, 2014, 09:31:40 PM
Could you link to Khas' pathfinding script?
Title: Re: [VXA] Khas pathfinder: How to check if event finished moving?
Post by: Rave on March 02, 2014, 10:13:23 PM
http://www.rpgmakervxace.net/topic/1481-khas-pathfinder/

There seem to be no obvious way to do it...
Title: Re: [VXA] Khas pathfinder: How to check if event finished moving?
Post by: kawaii on April 03, 2014, 03:06:16 AM
I think you can use two variable to check when event finished moving.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fpuu.sh%2F7U14U.png&hash=3ff6e7dd8216a8a61567f92202a0afdf88442a87)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fpuu.sh%2F7U161.png&hash=1b264c8bb597140c70f762dd046401d4659f9995)
or you can use script:
Code: [Select]
$game_map.events[???].x == 5 and $game_map.events[???].y == 7