dayong1433 Posted June 1, 2014 Share Posted June 1, 2014 (edited) about walk: osbot 1 : if(aaa!=null){ if(aaa.isvisible()){ log("ok") }else{ walkMiniMap(aaa.getPosition()); // close } }else{ walk(aaa,flase,0,flase);//faraway place } osbot 2 : if(aaa!=null){ if(aaa.exists()){ log("ok") }else{ walk // osbot2 How to use the minimap? } }else{ localWalker.walk(Tile); } about EntityAPI : osbot 1 : RS2Object bbb = closestObjectForName(Area,"Name"); osbot 2 : RS2Object bbb= objects.closestThatContains("Name"); //osbot2 How to use the area? Thank you all here! Edited June 1, 2014 by dayong1433 Link to comment Share on other sites More sharing options...
Joseph Posted June 1, 2014 Share Posted June 1, 2014 about walk: osbot 1 : if(aaa!=null){ if(aaa.isvisible()){ log("ok") }else{ walkMiniMap(aaa.getPosition()); // close } }else{ walk(aaa,flase,0,flase);//faraway place } osbot 2 : if(aaa!=null){ if(aaa.exists()){ log("ok") }else{ walk // osbot2 How to use the minimap? } }else{ localWalker.walk(Tile); } about EntityAPI : osbot 1 : RS2Object bbb = closestObjectForName(Area,"Name"); osbot 2 : RS2Object bbb= objects.closestThatContains("Name"); //osbot2 How to use the area? Thank you all here! for walking: map.walk(area); getMap().walk(area); and for entity, you'll have to use a filter Link to comment Share on other sites More sharing options...
Swizzbeat Posted June 1, 2014 Share Posted June 1, 2014 I'm pretty sure there's a localWalker instance available. Link to comment Share on other sites More sharing options...
dayong1433 Posted June 1, 2014 Author Share Posted June 1, 2014 for walking: map.walk(area); getMap().walk(area); and for entity, you'll have to use a filter I will not use filters;about entity Can you give me an example? Link to comment Share on other sites More sharing options...
Joseph Posted June 1, 2014 Share Posted June 1, 2014 I'm pretty sure there's a localWalker instance available. you could but it doesnt contain area, also he said he wanted to walk minimap so why not use map Link to comment Share on other sites More sharing options...
dayong1433 Posted June 1, 2014 Author Share Posted June 1, 2014 you could but it doesnt contain area, also he said he wanted to walk minimap so why not use map thank you ,But I'm not can't use "entity area" Link to comment Share on other sites More sharing options...
Swizzbeat Posted June 1, 2014 Share Posted June 1, 2014 you could but it doesnt contain area, also he said he wanted to walk minimap so why not use map They even provided a getRandomPoint method for the area class :p Link to comment Share on other sites More sharing options...
dayong1433 Posted June 1, 2014 Author Share Posted June 1, 2014 They even provided a getRandomPoint method for the area class Give me an example baby, plz!!!!!thank you !about entity Link to comment Share on other sites More sharing options...
Swizzbeat Posted June 1, 2014 Share Posted June 1, 2014 Give me an example baby, plz!!!!!thank you !about entity Link to comment Share on other sites More sharing options...
Joseph Posted June 1, 2014 Share Posted June 1, 2014 Give me an example baby, plz!!!!!thank you !about entity localWalker.walk(area.getRandomPosition(0)); the 0 is the height your area is in Link to comment Share on other sites More sharing options...
dayong1433 Posted June 1, 2014 Author Share Posted June 1, 2014 (edited) Give me an example baby, plz!!!!!thank you !about entity localWalker.walk(area.getRandomPosition(0)); the 0 is the height your area is in I'm a beginner script,Maybe is my poor expression ability. osbot1 RS2Object bbb = closestObjectForName(Area,"Name"); osbot2 RS2Object bbb= objects.closestThatContains(Area,"Name"); //This is wrong How do I modify ? Please give me an example ! thank you! Edited June 1, 2014 by dayong1433 Link to comment Share on other sites More sharing options...