• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Exclamation mark over denied creep

Status
Not open for further replies.
There are 2 ways to get that exclamation mark:
1) You make/get a exclamation mark model like the Blizzard one, but with Team Color skin, then you apply the color of the owner of killing unit to it
2) You make the Blizzard exclamation mark model the model of a dummy unit with flying height to make it float over the head. Then you change Vertex coloring of the unit to the color of the owner of killing unit. Vertex colors go in Red/Blue/Green percentages, so you'll have to use If/Then/Else commands 'If Player color of Owner of Killing Unit Equal to Red, Change vertex of UNIT to 100,0,0, else If Player color of Owner of Killing Unit Equal to Blue, Change vertex of...', etc. On top of this, the exclamation mark is not an attachment, so it will not move along with the unit when the unit is moved.
 
empty.gif
join.gif
A unit dies
empty.gif
join.gif
Owner of (Dying Unit) equal to Ally of Owner of (Dying Unit)
empty.gif
join.gif
set temp_point = position of (dying unit)
empty.gif
join.gif
create floating text: "!" at temp_point using #R, #G, #B, #T, size #
empty.gif
join.gif
set life of floating text to # seconds
empty.gif
join.gif
// then you can add to the kill prevention counter, or whatever else.

I can't remember which trigger changes the direction in which floating text disappears towards, but that's generally all you need for it.
 
Status
Not open for further replies.
Back
Top