Str4ndb3rg
Cool Member
- Reaction score
- 0
Want the hero of the user to gain experience from a tower.
Copy and pasted just to see if it worked and it didnt.
Copy and pasted just to see if it worked and it didnt.
Code:
Income GoldMine
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Set GoldMineIncome = (Units of type XP Gainer)
Unit Group - Pick every unit in GoldMineIncome and do (Actions)
Loop - Actions
Hero - Add 50 experience to (Triggering unit), Hide level-up graphics
Floating Text - Create floating text that reads +XP above (Picked unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 20.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees
Unit Group - Remove all units from GoldMineIncome