problem with colors...

MissKerrigan

Active Member
Reaction score
23
Hello,

I used a trigger to set the color of picked units to player 0 white this works fine
After my wait 60 game seconds action I want to set the color back to the color it was
I can't find any way of doing this

The reason why I set the unit color to white is because a behavior will set a tint color to 'pink'
But because the player colors mess this up, for example player 2 blue, CAN'T see a pink tint then

Does anyone know how I can fix this?

(if I knew which player it was, I could set the color back to that player)

MissKerrigan
 

X-maul

AKA: Demtrod
Reaction score
201
Make sure that the units un the unit group are stored in a unit group.
Create a local integer variable, and call it X.
The action should be "For each integer X from 1 to 12"
set the action inside the loop to "set player color of unit groups in unit group to color of owner of picked unit."
 

MissKerrigan

Active Member
Reaction score
23
'the unit group in the unit group is stored in a unit group' are you sure??

sorry it's above my scale, never mind
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top