Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Search the Community

Showing results for tags 'attacking'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • TRiBot
    • News and Announcements
    • Old School Scripts
    • Help and Guidance
    • Development
    • Bugs and Errors
    • Tutorials
  • Scripters' Forums
    • Scripter Application
  • RuneScape®
    • General
    • Guides/Tutorials
    • Achievements
  • General
    • General
    • Questions
    • Discussions & Debates
    • Introductions
    • Suggestions
    • Feedback
  • The Black Market
    • Disputes
    • Repository Credits
    • Gold Exchange
    • Item Exchange
    • Membership Sales
    • Services
    • Other
    • Middleman Services

Blogs

  • Getting Started With TRiBot
  • The Best Way To Get Rid Of Termites
  • How to Generate Real Estate Leads Using Twitter

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Bio

Found 1 result

  1. I tried using the Combat class and also iterating through all npcs in the area and checked if they are in combat and is interacting with me. The problem seems to occur when their hp bar disapears. Is there a way i can get an entity that is following and attacking me while i don't attack it? This is an example of what i have tried so far. RSNPC[] npcarray = NPCs.getAll(); println(npcarray.length); if(npcarray.length>0) for(RSNPC index : npcarray) { if(index.equals(null)) println("null"); else if(index.isInCombat() && index.isInteractingWithMe()){ println(index.getName()); } } println(""); General.sleep(500, 1000);
×
×
  • Create New...