Jump to content

Interacting with house advertisment


Recommended Posts

Posted (edited)
23 minutes ago, CharlesWoodchuck said:

I have also tried that when using entity hover, it only shows that it is a tile. Not a NPC or object

What are you talking about? I just logged into an account and I am hovering it with the debug tool and it says object...

EDIT: I even interacted with it just fine.

Edited by Gunman
Posted
2 minutes ago, Gunman said:

@CharlesWoodchuckIs that Mirror Mode? If so, sometimes the tool bugs out, and doesn't work correctly in Mirror Mode. That is in fact an object. I interacted with it using this code


getObjects().closest("House Advertisement").interact("View")

That ended up working. Normally i try to assign an object, Normally it works fine, but for some reason it didnt in this case. And yes I am on Mirror mode, thanks for the heads up that the tool bugs out.

 

like this

RS2Object houseSign = getObjects().closest("House Advertisement")

houseSign.intetact("View");

  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...