let npc swim

hi
i want to make an npc swim like a duck or fish
i know how to let them move and stuff
the only thing i dont know is how to let them move on the water tiles
because they stand still in one spot

is there someone who can explain this on a simple way to me ( searched the i-net but couldn't find anything)

i also want to know how to let the duck swim and then go out of the water and walk on the grass
i already have walking and swimming sprites

thank you
water tiles are impassable by default - if you want an event to move on them you'll need to set them to passable.
It might also look better if you set the bush flag for watertiles.
when i set them to passable my character can also walk trough the water,
and that's not good.😅
Something like yanfly's region restrictions might be what you need. You can set the tile to impassable and then set the region to allow events into it. The region restrictions overrides the tileset passability. That way it will still be impassable to the player but events will be able to access it.
Won't it work fine if the Water is not passable but the NPC's event page is set to "Through"?
got it guys thanks :ywink:

Original thread: https://forums.rpgmakerweb.com/threads/let-npc-swim.80120/