Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Uh, you mean like this?
Maybe I didn't understood it as well.
---------------------------------
Are you mean to Create Floating Text to shows the Gold and Hero XP ?
Then just use create floating text via action and use a timer to destroy it.
I guess he means when a unit dies, it will show it's gold and exp value above it.
Unit Die

Events


Unit - A unit Dies

Conditions

Actions


Set TempPoint = (Position of (Triggering unit))


-------- Hero Xp --------


Floating Text - Create floating text that reads (String((Hero experience of (Triggering unit)))) at (TempPoint offset by (-100.00, 0.00)) with Z offset 125.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency


Floating Text - Set the velocity of (Last created floating text) to 60.00 towards 90.00 degrees


Floating Text - Change (Last created floating text): Disable permanence


Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds


Floating Text - Change the fading age of (Last created floating text) to 1.70 seconds


-------- Gold --------


Floating Text - Create floating text that reads (String(((Owner of (Triggering unit)) Current gold))) at (TempPoint offset by (100.00, 0.00)) with Z offset 125.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency


Floating Text - Set the velocity of (Last created floating text) to 60.00 towards 90.00 degrees


Floating Text - Change (Last created floating text): Disable permanence


Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds


Floating Text - Change the fading age of (Last created floating text) to 1.70 seconds


Custom script: call RemoveLocation(udg_TempPoint)

For Symphony, we use Gold Coins, so maybe stick to Unit Acquires an Item. Anyways, for the hero exp, it should display the exp gotten from the kill, not the full exp of the hero.
Gold

Events


Unit - A unit Dies

Conditions


(Owner of (Dying unit)) Equal to Player 11 (Dark Green)

Actions


Set TempPoint = (Position of (Triggering unit))


Custom script: set bj_wantDestroyGroup = true


Unit Group - Pick every unit in (Units within 800.00 of TempPoint matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) belongs to an ally of Player 1 (Red)) Equal to True) and (((Matching unit) is A Hero) Equal to True)))) and do (Actions)



Loop - Actions




Player Group - Add (Picked player) to TempPGroup


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



Loop - Actions




Player - Add 1000 to (Picked player) Current gold


Custom script: call RemoveLocation(udg_TempPoint)


Custom script: set udg_TempPoint = null
You are picking a player which isn't in a player group.
Gold
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Player 11 (Dark Green)
Actions
Set TempPoint = (Position of (Dying unit))
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units within 800.00 of TempPoint matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) belongs to an ally of Player 1 (Red)) Equal to True) and (((Matching unit) is A Hero) Equal to True)))) and do (Actions)
Loop - Actions
Player Group - Add (Picked player) to TempPGroup
Player Group - Pick every player in TempPGroup and do (Actions)
Loop - Actions
Player - Add 1000 to (Picked player) Current gold
Custom script: call RemoveLocation(udg_TempPoint)
Custom script: set udg_TempPoint = null
