Hi Guys.
I am working on a map with a friend and i now want to something like dota, if a tower gets destroyed (Unit Dies, Condition its the tower..) that every Hero from the fraction who killed the tower gets 250 gold. So i want to give every hero the item which gives gold (like dota, for the animation and stuff).
i triggered the following:
Can you help me please? Thanks in adv!
I am working on a map with a friend and i now want to something like dota, if a tower gets destroyed (Unit Dies, Condition its the tower..) that every Hero from the fraction who killed the tower gets 250 gold. So i want to give every hero the item which gives gold (like dota, for the animation and stuff).
i triggered the following:
-
TowerKill Ally
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


(Unit-type of (Dying unit)) Equal to Guard Tower
-
-

Actions
-


Player Group - Pick every player in g1 and do (Actions)
-



Loop - Actions
-




Unit Group - Pick every unit in (Units owned by (Picked player) matching (((Picked unit) is A Hero) Equal to True)) and do (Actions)
-





Loop - Actions
-






Hero - Create towergold and give it to (Matching unit)
-
-
-
-
-
-
Can you help me please? Thanks in adv!



