Jump to content

Objects on Ground?


Trees

Recommended Posts

Script seems to have trouble interacting with objects on grounds (things like fire, altar, etc). Especially when moving or a player is on top of the object.

 

There's no way to right click interact so does anyone have any suggestions?

Possibly get the ID of the item and tell your script to interact with the object of that id

Link to comment
Share on other sites

Script seems to have trouble interacting with objects on grounds (things like fire, altar, etc). Especially when moving or a player is on top of the object.

 

There's no way to right click interact so does anyone have any suggestions?

 

Show the execution result for the event. You may want to take a look at our API, there are definitely ways to right click. InteractionEvent is built using the same API which you have access to; meaning that you can write the same exact methods which we wrote. 

Link to comment
Share on other sites

Show the execution result for the event. You may want to take a look at our API, there are definitely ways to right click. InteractionEvent is built using the same API which you have access to; meaning that you can write the same exact methods which we wrote. 

 

The interact returns true. And I can right click using the mouse method, but if there are players standing there, the correct option moves further down and I don't really know how to check uptext, etc. to find the right thing to use it on.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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