- Joined
- Sep 14, 2004
- Messages
- 66
How can I make computer heroes buy random items from a shop when they comes within range with the shop?
I have this code so far:
Events:
Unit - A unit comes within 300.00 of Item Shop 2 0087 <gen>
Conditions:
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
(Owner of (Triggering unit)) Equal to Player 5 (Yellow)
(Owner of (Triggering unit)) Equal to Player 6 (Orange)
(Owner of (Triggering unit)) Equal to Player 7 (Green)
Actions:
????????
Maybe this isn't possible without special coding...
I have this code so far:
Events:
Unit - A unit comes within 300.00 of Item Shop 2 0087 <gen>
Conditions:
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
(Owner of (Triggering unit)) Equal to Player 5 (Yellow)
(Owner of (Triggering unit)) Equal to Player 6 (Orange)
(Owner of (Triggering unit)) Equal to Player 7 (Green)
Actions:
????????
Maybe this isn't possible without special coding...