• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Assigning tint that is seen by only one player. Please help

Status
Not open for further replies.
Level 2
Joined
May 5, 2010
Messages
14
What i need to do in my map is a fairly simple concept. I have a Unit Group array of size [14] called "colorarray". I need every unit in colorarray[1] to display a green tint that only player 1 can see, every unit in colorarray[2] to have a green tint that only player 2 can see, so on and so forth. then when a unit is no longer in to unit group its color for the specified player is reset to normal.
What would my triggers look like to accomplish this? and would i need any actors to do this? if so how would i set them up?
any help would be greatly greatly appreciated, this one kinda has me stumped /=.
 
Normally, you would do:

If GetLocalPlayer == Player(i) then
(tint action goes here).

This would ensure it is tinted only for player i (i is an integer). However, I have yet to find a get local player equivalent in SC2, so meh.
 
Well...is there some other way i can mark a unit so it is easy to see that it is marked and only one player can see it? there has to be somthing
 
Status
Not open for further replies.
Back
Top