Jump to content

Find an object not on the map.


Juggles

Recommended Posts

Trying to find an object not on map.

I am trying to make a script that searches for a Game Object but it has 4 random spawns. 

How would I make the bot walk a certain area searching for it and then it needs to realize that the object exists and clicks on it. 

I can't use getObject.closest because its not within the proximity of the screen.

Link to comment
Share on other sites

You can only search for Objects if they are in the curernt loaded game area.

Which is something like 104x104 tiles. (not sure about this)

 

Every object outside this area will nto be loaded so it can't be found.

So if the 4 spawns are located in the loaded area it won't be a problem ^^

 

 

NPC's have a similar thing going on but they need to be visible on the minimap in order to be loaded.

Every other NPC will not be loaded.

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...