Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Enemy Tile dimensions


    Recommended Posts

    For example the cows or the hill giants occupy more than a single tile, is there any way to somehow figure out how large their width and depth is in tilesize?

    I've searched through the docs, but couldn't find anything relevant, only thing remotely relevant was GetModel().calculateModelArea(), but that returns a java geom area, rather than a dreambot area, which kinda makes it useless.

    Anyone got any ideas?

    Link to comment
    Share on other sites


            NPC cow = NPCs.closest("Cow");
            if(cow != null)
                log("Cow Size:"+cow.getSize());
            NPC hobgoblin = NPCs.closest("Hobgoblin");
            if(hobgoblin != null)
                log("Goblin Size: " +hobgoblin.getSize());

    7:56:34 AM: [SCRIPT] Goblin Size: 1

    7:56:34 AM: [SCRIPT] Cow Size : 2

    However, if you look at the cow it looks like it is 2 tiles long and only 1 tile wide. Idk how accurate you are trying to make it.



    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.