- Joined
- Sep 14, 2009
- Messages
- 284
Hi. Is there anyway to detect via triggers when a unit tries to purchase an item but don't have enough gold?
Or would I have to make a custom price and purchase system entirely?
EDIT: The only way i can think of is to make an event "A unit is issued an order targeting an object", Condition "Issued order equal to <order string for (trying?) to purchase an item>".
But for this I would need the order string for a unit trying to purchasing an item. Anyone know how I can find this string?
Or would I have to make a custom price and purchase system entirely?
EDIT: The only way i can think of is to make an event "A unit is issued an order targeting an object", Condition "Issued order equal to <order string for (trying?) to purchase an item>".
But for this I would need the order string for a unit trying to purchasing an item. Anyone know how I can find this string?