- Joined
- Sep 1, 2011
- Messages
- 20
I am having trouble having a player gain gold from killing a building but it doesn't seem to be happening and instead the owner of the building gains it instead. Please help me fix this.
-
Events: Unit - A unit Dies
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Dying unit)) Equal to Rocket Tower
-
(Unit-type of (Killing unit)) Not equal to Slayer
-
(Unit-type of (Killing unit)) Not equal to Dwarf Slayer
-
(Unit-type of (Killing unit)) Not equal to Orc Slayer
-
(Unit-type of (Killing unit)) Not equal to Shadow Hunter
-
-
Then - Actions
-
Hero - Add 50 experience to (Killing unit), Hide level-up graphics
-
Player - Set (Triggering player) Current gold to 5
-
-