ultimate11
Active Member
- Reaction score
- 25
Trigger:
- Creep Bounty
- Events
- Unit - A unit Dies
- Conditions
- ((Triggering unit) is A Hero) Equal to False
- Or - Any (Conditions) are true
- Conditions
- (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
- (Owner of (Triggering unit)) Equal to Player 12 (Brown)
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Or - Any (Conditions) are true
- Conditions
- (Unit-type of (Triggering unit)) Equal to Creep[1]
- (Unit-type of (Triggering unit)) Equal to Creep[2]
- Conditions
- Or - Any (Conditions) are true
- Then - Actions
- Set Gold = (Random integer number between 45 and 55)
- Player - Add Gold to (Owner of (Killing unit)) Current gold
- Floating Text - Create floating text that reads (|CFFFFFF01+ + ((String(Gold)) + |R)) above (Triggering unit) with Z offset 0.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 64.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 3.00 seconds
- Floating Text - Hide (Last created floating text) for (All players)
- Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
- Floating Text - Show (Last created floating text) for (Player group((Owner of (Killing unit))))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
oky this work fine except one thing.I want to show last created floating txt only to owner of kiling unit but it`s show to all players.