danieljvdm Posted April 29, 2013 Posted April 29, 2013 Would you guys say that this is the best way to do it?while(client.getMyPlayer().isFacing(theNPC) && client.getMyPlayer().isUnderAttack())?Cause it only seems to start working after a few seconds of combat.
Apple Posted April 30, 2013 Posted April 30, 2013 NPC npcName = closestNPC(npc's ID); if (npcName != null && !myPlayer().isUnderAttack()) { do whatever }
danieljvdm Posted May 2, 2013 Author Posted May 2, 2013 NPC npcName = closestNPC(npc's ID); if (npcName != null && !myPlayer().isUnderAttack()) { do whatever } No