May 26, 20169 yr 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.
May 26, 20169 yr 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. Just as you wrote; walk to area --> search for object using filter (area.contains(entity)) --> if it exist, interact with it Edited May 26, 20169 yr by Woody
May 26, 20169 yr 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.
Create an account or sign in to comment