- Joined
- Jul 22, 2009
- Messages
- 214
SOLVED
1. I have a system that drop an item(for example a weapon) if the hero already have an item of this type.(weapon in the example). My problem is when I buy items, I don't want the buyed item to be dropped if the hero already have an item of the same type, I just want to show the alert message that say: ''Can only wear one weapon'' and I want to give back the gold that the item cost.
SOLVED
2. I've search for it but I've found nothing, is there a way to ''clear'' the item that are on the ground, for example an item is dropped, if 30 sec. later no one picked it the item disapear.
+REP for help
1. I have a system that drop an item(for example a weapon) if the hero already have an item of this type.(weapon in the example). My problem is when I buy items, I don't want the buyed item to be dropped if the hero already have an item of the same type, I just want to show the alert message that say: ''Can only wear one weapon'' and I want to give back the gold that the item cost.
SOLVED
2. I've search for it but I've found nothing, is there a way to ''clear'' the item that are on the ground, for example an item is dropped, if 30 sec. later no one picked it the item disapear.
+REP for help
Last edited: