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

Player Color

Status
Not open for further replies.
Hello hivers

When I was trying to finish a map I started a few months ago, I noticed a problem: the units I create don't take on the owner's player color, but 'always' take Red's color.
At first I thought it had something to do with the object data (Art - Team Color), but it's set to "Match Owning Player", so that can't be the problem.
Then I checked the trigger which created the units to see whether the unit is really made for the player I want, which they are.
I've gone through all triggers a few times to see if anything changed the owner of the unit or it's color, but couldn't find anything (and double-checked this result with a trigger that shows the owner of the unit as well).

Now the really weird thing (in my eyes) is that units created for player 1 (Red) are Blue (and the units created for player 2, 3, 4 and 5 are red).

So basically I need to know why the created unit's take on red's team color instead of the team color of their respective owner.
Since all created units are dummies, I also tried adding the player (since I only need 1 actual player), but that didn't do anything either.

I honestly cannot figure this one out, so I greatly appreciate any help that could direct me to the answer ^^

~ap0calypse

(p.s.: map attached)
 

Attachments

  • GuitarHero.w3x
    2.5 MB · Views: 77
Level 4
Joined
Jan 20, 2007
Messages
65
In your object editor, for units, is the data field "Art - Team Color" set to Player 1? If so, set it back to "Match Owning Player".
 
Try to restart you'r computer and try again. This can be a startup bug for WC3.
Yup, that did it...
The second time I rebooted my pc (I first tried the 'restart PC' option, which didn't work and then 'shut down' and started again, which did work).

Stupid warcraft, I spent at least an entire hour checking and re-checking all values and it turns out that I just had to restart my PC >.>

Thanks to everyone who posted :D
 
Status
Not open for further replies.
Top