- Joined
- Jan 7, 2017
- Messages
- 11
- Thread Author
- #1
Hello, i am new to scripting and starting off with a simple chicken killer.
What i have so far is :
Npc npcm = Npcs.newQuery().names(bot.currentTarget).results().nearestTo(Players.getLocal());
But i would like to add a filter on it since its now clicking dying npc's and in combat npc's.
Can someone show me with an example how to add this feature ?
Sincerely Dennis
p.s i know that filter is outdated but thats the only thing i could found on the internet.
What i have so far is :
Npc npcm = Npcs.newQuery().names(bot.currentTarget).results().nearestTo(Players.getLocal());
But i would like to add a filter on it since its now clicking dying npc's and in combat npc's.
Can someone show me with an example how to add this feature ?
Sincerely Dennis
p.s i know that filter is outdated but thats the only thing i could found on the internet.