RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Blocked Terrain

fenris

Wanderer
Blocked Terrain

How do I prevent a NPC from going into blocked terrain?
How can i make something like this:

[code:1]

....
if(IsFreePosition(....))
{
m.Move(Location.Up);
}
....
[/code:1]

Without this my NPCs keep walking into walls, Water, Hills, etc.....
whats the best thing to use in this case? :?: :?: :?:
 

krrios

Administrator
RunUO's movement is very primitive as you've seen; it doesn't support blocking or Z calculations. When this changes, it will be in the Move function.
 
Top