cheatking Posted October 18, 2008 Author Share Posted October 18, 2008 I want Roofblock to block NPC movements but alas I don't know how can anyone help? Link to comment Share on other sites More sharing options...
cheatking Posted October 18, 2008 Author Share Posted October 18, 2008 Fixed it :) Changed this code in server ' Check to make sure that the tile is walkable. If TileType = TILE_TYPE_BLOCKED Or TileType = TILE_TYPE_NPCAVOID Then CanNpcMove = False Exit Function End IfTo ' Check to make sure that the tile is walkable. If TileType = TILE_TYPE_BLOCKED Or TileType = TILE_TYPE_NPCAVOID Or TileType = TILE_TYPE_ROOFBLOCK Then CanNpcMove = False Exit Function End If Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now