Huz Posted March 14, 2016 Share Posted March 14, 2016 Code to pick up a ground item? Quote Link to comment Share on other sites More sharing options...
Solution Posted March 14, 2016 Share Posted March 14, 2016 http://osbot.org/api/org/osbot/rs07/api/model/GroundItem.htmlI'm sure that from there you'll be able to figure it out Quote Link to comment Share on other sites More sharing options...
Token Posted March 14, 2016 Share Posted March 14, 2016 item.interact("Take"); If you want to actually find a GroundItem then you could try GroundItem item = groundItems.closest(new Filter<GroundItem>() { @Override public boolean match(GroundItem item) { return item.getName().equals(ITEMNAME); } }); if (item != null) { item.interact("Take"); } 1 Quote Link to comment Share on other sites More sharing options...
Huz Posted March 14, 2016 Author Share Posted March 14, 2016 http://osbot.org/api/org/osbot/rs07/api/model/GroundItem.html I'm sure that from there you'll be able to figure it out I found that but still don't understand how to implement it. Was getting some errors. Can I get a sample of a looting method? item.interact("Take");If you want to actually find a GroundItem then you could tryGroundItem item = groundItems.closest(new Filter<GroundItem>() { @Override public boolean match(GroundItem item) { return item.getName().equals(ITEMNAME); }});if (item != null) { item.interact("Take");} Wow was so close, will try this after I get home from class tomorrow. Thanks Quote Link to comment Share on other sites More sharing options...