Jump to content

Changing state when incantatory contain any items


Recommended Posts

Posted

I'm trying to get my script to change state if it contains any items at all, not just when it's full? is this possible? I have the code to change when full.

 

                if (!client.getInventory().isFull() && BANK_AREA.contains(myPlayer()))
                        return State.WALK_TO_AREA;

 

 

 
Any help guys? Also It may contain numerous items so I can't put each ID down
 
Thanks
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...