February 4, 20179 yr Hey, so I'm working on a simple script and need to check a certain area to see if an object exists, else world hop. The area is the size of a standard mining pit (e.g. Varrock E or W) and the object is defined under the object category in the API but it wouldn't be my object. Don't wanna give much more away but I'd be more clear to a scripter in private. Thanks in advance for any help!
February 4, 20179 yr Area.contains(Entity entity); Just check the Area APIhttp://osbot.org/api/ Edited February 4, 20179 yr by Juggles
February 4, 20179 yr Author 2 minutes ago, Juggles said: Area.contains(Entity entity); Just check the Area APIhttp://osbot.org/api/ Ohh that's great, thanks! Appreciate it man.
February 5, 20179 yr RS2Object o = getObjects().closest(AREA, "Door"); if(o != null)... Checks if there's an object with the name 'Door' in AREA
Create an account or sign in to comment