• 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.

Is there a way..

Status
Not open for further replies.
Level 7
Joined
Oct 14, 2008
Messages
340
Is there a way too emulate the color change that you get from abilities such as cold arrows.. where the unit will change color, but when the effect is over, he reverts to his normal color?

using
Code:
native SetUnitVertexColor (unit whichUnit, integer red, integer green, integer blue, integer alpha) returns nothing
would require me to reset the color manually, but some units have different default vertex colorings, so I'm curious as to there being a way to revert to default coloring, without making a big fat function containing every type of unit's default coloring.
 
Status
Not open for further replies.
Top