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

Setting Actor Tint Color

Status
Not open for further replies.
You could probably do it via actor messages to the main actor of the unit. I am still not too sure if you can issue all actor actions but even if you can not you just need to hard code some events for the actor that on a certain message change it to a certain colour.

You will also need some sort of map to convert color to tint commands. Perhapse map these commands to the player directly even as you could then use an array lookup.
 
thanks for the advice, ive sorted it, but im not sure if its the best way, can anyone let me know if theres any faults :)

  • Variable - Set Color = (Color((Current player (Owner of Temp Unit 2) color)))
    • General - Custom Script: ActorSend(DataTableGetActor(true, ("PlayerMarine" + FixedToString(UnitGetCustomValue(lv_tempUnit2, 5), c_fixedPrecisionAny))), ("SetTintColor " + libNtve_gf_ConvertColorToString(lv_color)));
 
Status
Not open for further replies.
Back
Top