Tropic Psycho Posted June 23, 2015 Share Posted June 23, 2015 iron ore has more than one object id, how do i find the closest object from multiple ids? also how do i check if the player is mining or not, and whether or not i finished mining? Link to comment Share on other sites More sharing options...
heptic Posted June 23, 2015 Share Posted June 23, 2015 Iron ore is normally 13711 or 13714 im not 100% sure, go to entity hover debug in settings and hover over the item you want the id from Link to comment Share on other sites More sharing options...
Twin Posted June 23, 2015 Share Posted June 23, 2015 iron ore has more than one object id, how do i find the closest object from multiple ids? also how do i check if the player is mining or not, and whether or not i finished mining? Entity iron = objects.closest(id1,id2,id3,id4); if(!myPlayer().isAnimating()) iron.interact("Mine"); 1 Link to comment Share on other sites More sharing options...
Extreme Scripts Posted June 23, 2015 Share Posted June 23, 2015 I wouldn't use ID"s as sometimes they change when Runescape updates. Have a look into using model colours to identiy what type of ore it is ^_^ Link to comment Share on other sites More sharing options...
iamthe666 Posted June 23, 2015 Share Posted June 23, 2015 google it x D most people have askedd questions like theseeee Link to comment Share on other sites More sharing options...
zanezatelo Posted June 23, 2015 Share Posted June 23, 2015 Can someone else why this is so hard like im curious hear about this a lot, isint it just like a database search. Link to comment Share on other sites More sharing options...
Twin Posted June 23, 2015 Share Posted June 23, 2015 Can someone else why this is so hard like im curious hear about this a lot, isint it just like a database search. What? I think hr was asking how to make it mine iron rocks with different ids, but he didn't know that it took more than one int. Link to comment Share on other sites More sharing options...
zanezatelo Posted June 23, 2015 Share Posted June 23, 2015 Ohhh I see my bad ! thanks Link to comment Share on other sites More sharing options...
Tropic Psycho Posted June 23, 2015 Author Share Posted June 23, 2015 Entity iron = objects.closest(id1,id2,id3,id4); if(!myPlayer().isAnimating()) iron.interact("Mine"); exactly what i needed, thanks! 1 Link to comment Share on other sites More sharing options...