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

[General] Is it possible to change unit's Tinting Color ingame?

Status
Not open for further replies.
Level 6
Joined
Nov 4, 2004
Messages
125
I feel like stating the obvious, but isn't "Animation - Change Unit Vertex Colouring" what you're looking for?

In JASS, the native is native SetUnitVertexColor takes unit whichUnit, integer red, integer green, integer blue, integer alpha returns nothing with the integer inputs 0-255.
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
You can change a unit's vertex color using the GUI action:

  • Animation - Change Unit Vertex Color
You can also do it in jass with the following native function call:

JASS:
native SetUnitVertexColor takes unit whichUnit, integer red, integer green, integer blue, integer alpha returns nothing

This can even be done locally for a unit. (Haven't tested this with units that can be interacted with through selections)

EDIT: too slow, Unhit beat me too it while I was typing my reply ;P
 
Status
Not open for further replies.
Top