Tropic Psycho Posted June 23, 2015 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?
heptic Posted June 23, 2015 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
Twin Posted June 23, 2015 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
Extreme Scripts Posted June 23, 2015 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 ^_^
iamthe666 Posted June 23, 2015 Posted June 23, 2015 google it x D most people have askedd questions like theseeee
zanezatelo Posted June 23, 2015 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.
Twin Posted June 23, 2015 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.
Tropic Psycho Posted June 23, 2015 Author Posted June 23, 2015 Entity iron = objects.closest(id1,id2,id3,id4); if(!myPlayer().isAnimating()) iron.interact("Mine"); exactly what i needed, thanks! 1