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,837
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,645
Reaction score
15,728
First Language
English
Primarily Uses
RMMV
You need to use a plugin command, not a script call in a movement route.
 

Latest Threads

Latest Posts

Latest Profile Posts

SF_Vehicle2 and SF_People2_8 added!
index.php

If I made an 8-bit-esque, dark fantasy tileset/graphics pack, would y'all be into that? Like, for Dark Souls demakes, Nintendo vampire wannabes, Castlevania ripoffs and such?

Working title: Alice's 8-bit Gothic. Do or not do? (Like do y'all even use 8-bit style graphics?)
I love editing things .
16b6a8abb5d27bf617d9b802cd5b868a.jpg

* Wall frames made with pencil photo and program photos, * Leaf and Pot, with cliché ideas of flowers
*bear on top of the closet belonging to the art of whtdragon lol.
No better feeling than part of a project just clicking into place without a single issue.

Forum statistics

Threads
118,438
Messages
1,115,989
Members
155,402
Latest member
Bansher
Top