• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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