- Joined
- Nov 13, 2010
- Messages
- 254
well i made this trigger but then i try it show text but i try to set a hero level 30 and try killing random units and it say i get 46xxx xp but i only get from 100 to 1800 xp when i look a the hero xp how come and is it a but or is xp too all players and i only get some of it ?
-
when death happens
-
Events
- Unit - A unit Dies
- Conditions
-
Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Custom value of (Killing unit)) Not equal to (!=) (Hero experience of (Killing unit))
-
Then - Actions
- Floating Text - Create floating text that reads (String(((Hero experience of (Killing unit)) + (Custom value of (Killing unit))))) above (Killing unit) with Z offset 0.00, using font size 10.00, color (0.00%, 100.00%, 0.00%), and 0.00% transparency
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Show (Last created floating text) for (All players)
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Else - Actions
-
If - Conditions
- Unit - Set the custom value of (Killing unit) to (Hero experience of (Killing unit))
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events