• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] how i do this trigger

Status
Not open for further replies.
Level 19
Joined
Feb 15, 2008
Messages
2,184
can some on shwo me how to do this trigger in trigger taggs....

need this trigger when u die and when u kille the hero u get 200 gold with cool text...

like player 1 owned player 2 200 gold is splitt like the dota but i only need 200 all the time not more or less.......
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
Unit - A unit dies
Floating text - Create a floating text above (Triggering unit)...
Player - Add xxx to (Owner of (Killing Unit) current gold
Floating text - Set (last created floating text) lifespan to 2 seconds
Floating text - Set (last created floating text) fading age to 1 second
Floating text - Set (last created floating text) -> disable permanency
Floating text - Set (last created floating text) speed to 64 towards 90 degrees

somewhat like this
 
Status
Not open for further replies.
Top