Hello everyone,
so I've come across a curious problem. After creating a map I added some NPC characters that were moving randomly across the map. They did, however, also cross the tiles that were set on impassible. Also, the player-character couldn't enter those tiles either. So for testing, I created a very basic map. The bottom layer is only grass (of course all passable). The second layer has only mountain-tiles that are not passable. The third layer is empty. The test-NPC has a set move-route that moves the NPC upwards (seven tiles).
Upon entering the map, the NPC starts moving and is passing over the mountain-tiles. The player character cannot follow as the tiles are set on impassible. The question is, why does the NPC ignore the passability of the tiles?
The event is not set on "always through".
The event has no other purpose than moving the NPC.
All tiles have a priority of 0 (although the NPC did pass behind tiles with a higher priority in earlies testings but still ignored the passability).
The terrain-tags are all empty (set on 0).
There are no empty tiles anywhere on the map. I know, often the problem is that transparent were used to delete stuff, and not the tile at the top left. But this is a testing map so I made sure there were definitely no transparent tiles anywhere.
I have barely touched the script and what I changed had nothing to do with the movement or passability-check. Also, the player-character can't move through the walls...
Maybe one of you can help me.
sebivomeis
so I've come across a curious problem. After creating a map I added some NPC characters that were moving randomly across the map. They did, however, also cross the tiles that were set on impassible. Also, the player-character couldn't enter those tiles either. So for testing, I created a very basic map. The bottom layer is only grass (of course all passable). The second layer has only mountain-tiles that are not passable. The third layer is empty. The test-NPC has a set move-route that moves the NPC upwards (seven tiles).
Upon entering the map, the NPC starts moving and is passing over the mountain-tiles. The player character cannot follow as the tiles are set on impassible. The question is, why does the NPC ignore the passability of the tiles?
The event is not set on "always through".
The event has no other purpose than moving the NPC.
All tiles have a priority of 0 (although the NPC did pass behind tiles with a higher priority in earlies testings but still ignored the passability).
The terrain-tags are all empty (set on 0).
There are no empty tiles anywhere on the map. I know, often the problem is that transparent were used to delete stuff, and not the tile at the top left. But this is a testing map so I made sure there were definitely no transparent tiles anywhere.
I have barely touched the script and what I changed had nothing to do with the movement or passability-check. Also, the player-character can't move through the walls...
Maybe one of you can help me.
sebivomeis