pangloy

Veteran
Veteran
Joined
Nov 13, 2018
Messages
30
Reaction score
0
First Language
Thai
Primarily Uses
RMMV
Hello!
I set NPC "move towards player".
But if I stand behind somthing NPC can't come to me.

How to make it smarter?
Thank you. :kaocry:
181125111923.jpg
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,693
Reaction score
3,023
First Language
Tagalog
Primarily Uses
RMVXA
By writing an algorithm that checks for things like if the path between the player and the event is blocked etc..

basically, by making a smarter algorithm
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,343
Reaction score
1,836
First Language
Portuguese - Br
Primarily Uses
RMMZ
Try some plugins like yanfly move route, qpathfind etc.
 

pangloy

Veteran
Veteran
Joined
Nov 13, 2018
Messages
30
Reaction score
0
First Language
Thai
Primarily Uses
RMMV
I use "Shaz's SMARTPATH" Plugin

-----------
181125030314.jpg


SmartPath eventId1 eventId2 # Makes event 1 find path to event 2

event = number for specific event
event = 0 for "this" event
event = -1 for player
--------
Enemy did not move:kaocry:
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,641
Reaction score
15,726
First Language
English
Primarily Uses
RMMV
You need to use a plugin command, not a script call in a movement route.
 

Latest Threads

Latest Profile Posts

Been playing through Skies of Arcadia again, and it really makes me wanna see someone try to implement how ship battles were done in the game into RPG Maker (or really just in general).
split.png
split view of both versions of the pocket city you traverse through. there's differences like areas only being accessible in one version of Autumn Bay. or events that only happen in one or the other.
theortically if there were a developer who spied on people's game playthroughs and changed things in real time to make it harder for them, what might be said game developer's motivation?
Hi everyone! Enjoying this nice long weekend. How are you all doing? :)
I just successfully tested having events check if specific actors are in a particular party slot and then changing image to match. This will let me make scenes take into account who is in the party at the time and arrange them accordingly - this is important since I'll have extra actors beyond current party. The script used is the same from MV and is compatible with my current core plugin setup in MZ. Thank goodness.

Forum statistics

Threads
118,431
Messages
1,115,901
Members
155,386
Latest member
Yung_DemonxSlayer
Top