June 8, 20205 yr Hi! I am trying to get the Id of the NPC that the bot i currently interacting / attacking. Dose anyone have any idea of how this is possible?
June 8, 20205 yr https://osbot.org/api/org/osbot/rs07/api/model/Character.html#getInteracting-- store the interacting NPC then call the getId() on the object you create NPC n = myPlayer.getInteracting() if (n != null) log(n.getId());
June 8, 20205 yr Author 2 minutes ago, Chris said: https://osbot.org/api/org/osbot/rs07/api/model/Character.html#getInteracting-- store the interacting NPC then call the getId() on the object you create NPC n = myPlayer.getInteracting() if (n != null) log(n.getId()); Thanks for the help!
Create an account or sign in to comment