- Joined
- Apr 27, 2009
- Messages
- 224
I used a trigger to make hero buy items. And when i copied the trigger into the map i was configurating it for it doesnt work. HELP.
-
Buy Items
-
Events
-
Unit - A unit enters RightSideSpawn <gen>
-
-
Conditions
-
((Triggering unit) is A Hero) Equal to True
-
((Owner of (Triggering unit)) controller) Equal to Computer
-
-
Actions
-
-------- --------
-
-------- --------
-
-------- --------
-
-------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of AIHero[(Player number of (Owner of (Triggering unit)))]) Current gold) Greater than or equal to 250
-
-
Then - Actions
-
Game - Display to (All players) for 7.00 seconds the text: (String((Unit-type of (Triggering unit))))
-
Player - Add -250 to (Owner of (Triggering unit)) Current gold
-
Hero - Create Boots of Speed and give it to (Triggering unit)
-
-
Else - Actions
-
-
-
-
((Owner of AIHero[(Player number of (Owner of (Triggering unit)))]) Current gold) Greater than or equal to 250
-
((Owner of (Triggering unit)) Current gold) Greater than or equal to 250
Last edited: