Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Checking for loot piles

Joined
Oct 18, 2015
Messages
25
I have a feeling this will be something related to varps ? But i'd like to know how to detect different sized loot piles e.g coins or arrows, if "varps" is correct can someone give me a point in the right direction <3
 
For anyone who has the same question, its possible by simply doing:

Code:
if (ammo != null) {
if (ammo.getQuantity() > 8) {

}
}

I think this will work with coins in the same way ( only tested with arrows etc). Be sure to check if ammo (GroundItem) is null
 
Top