Wapak 0 Posted April 4, 2020 Hi everyone, I am developing a combat script but it is often clicking bones and Npcs behind walls and buildings. I noticed that there is no method available in the api to check if the Entity is visible. Is there a workaround for this? Does anyone know if Jagex can detect that you're clicking through walls and buildings? Would it increase the likelihood of the account being banned? Thanks
Defiled 426 Posted April 4, 2020 if(npc.isOnScreen()) npc.interact(); I'd recommend that you explore the API. you can also rotate to the npc by doing the following: getCamera().rotateToEntity(npc);
Recommended Posts
Archived
This topic is now archived and is closed to further replies.