Quote:
Originally Posted by konidias
Right, same method used for bomy pets when they follow you.
It's at least far better than having them appear to be lagging badly and teleporting around. I refused to even bother with Zodiac after I played for a few minutes trying to fight monsters and they were just teleporting in front of me and attacking and I'd swing and miss them.
Another thing you could do is just have it pathfind for short distances... Like if it runs into a wall and the player is on the opposite side of the wall, the enemy would search for an opening along the wall and then move that way.
It's not perfect but again, it's far better than having them teleport around.
|
Which would be the laggy way I'm talking about.
How will the baddy know which way it has to search for a way around the wall? It could have to circle the room and, go down a hall, and turn to reach the player. If this is the case, it's going to do an immense amount of onwall checks.
We have looked into following the path the player takes, but we don't think it would work very well.
There are spells that teleport the player and effects that speed the player up. If a player has a speed boost, they could move up to 10 tiles before the baddy begins it's next movement; it would be pretty much the same thing as letting it walk through walls. Also, it's possible for a player to aggro a baddy through a wall.