k9thebeast Posted March 31, 2018 Share Posted March 31, 2018 Currently in an instance where my coordinates are 12444, 281 Anyone have any idea how to walk here? Seems like it would be similar to zulrah. (walkTo isnt working) Thanks!@Fruity 1 Quote Link to comment Share on other sites More sharing options...
FrostBug Posted March 31, 2018 Share Posted March 31, 2018 (edited) Your problem is that instances are loaded at random coordinates in the instance grid. If the instance is small, I would recommend working with Local Positions (found by getLocalPosition methods). This is the position relative to the current map base. When time comes to walk to a position, translate your desired local position to an absolute position by adding the map base position to it (Map#getBaseX/Y). If your instance is very large (eg. walking around in the instance triggers region loading), then you'll have to use a different approach. Commonly people select some object in the instance as the 'Anchor position' similar to how we can use the map base in small instances. Translating positions based on the absolute position of this anchor entity. Edited March 31, 2018 by FrostBug 4 1 Quote Link to comment Share on other sites More sharing options...
ImTheSmaug Posted April 1, 2018 Share Posted April 1, 2018 22 hours ago, FrostBug said: Your problem is that instances are loaded at random coordinates in the instance grid. If the instance is small, I would recommend working with Local Positions (found by getLocalPosition methods). This is the position relative to the current map base. When time comes to walk to a position, translate your desired local position to an absolute position by adding the map base position to it (Map#getBaseX/Y). If your instance is very large (eg. walking around in the instance triggers region loading), then you'll have to use a different approach. Commonly people select some object in the instance as the 'Anchor position' similar to how we can use the map base in small instances. Translating positions based on the absolute position of this anchor entity. Can you give some example? Quote Link to comment Share on other sites More sharing options...