There is the Character.InventoryQuantity property you can use to check if a character has a specific inventory item:
Code: ags
If you tell us what you want to do exactly, we might be able to help you further.
if (cGeorge.InventoryQuantity[iBall.ID] > 0) {
Display("George has the ball.");
}
If you tell us what you want to do exactly, we might be able to help you further.