Twin Posted February 20, 2015 Posted February 20, 2015 Currently working on my MLM script, and I wanted to know if there a way to get the closest entity ore vein, and if none are visible have it walk to a different area. I'm assuming this would be an if statement like if(pay==null)//pay being the entity ore vein { getLocalWalker().walk(position for walkinghere); break; } And then have it stop when it gets to the nearest ore vein on the way there. So if it doesn't see an ore vein it will walk to the given point until it sees an ore vein, then move onto the state mine like normal. Would this be the correct way to donit?