" Local Time " ? - Exists?

SerraAvenger

Cuz I can
Reaction score
234
As for the colors, well, a unit only has its current color.
It doesn't have a different set for each player...

Hmm why can you then change unit colors with the buttons right to the minimap?


there are some color modes:
normal
Allies cyan, enemies red
Allies cyan, enemies red and you blue

So one player can have Unit A's color be red, for his enemy it might be yellow, blue or cyan...

could be worth a test with some friends
 
Reaction score
456
I suppose that AceHart was talking about unit's vertex coloring. Now you're talking about team colors :).
 

Jazradel

Helping people do more by doing less.
Reaction score
102
Pathing is the main problem with ShowUnit() in get local player.

You can do something like this to create a unit for only one player:
JASS:
local integer i
if GetLocalPlayer() == Player(...) then
set i = 'H000'
endif
call CreateUnit(..., i, ...)

The only time is causes problems is when the unit dies from attack damage, but there is a simple work around for it (removing the unit when it takes damage that deals more than it's current lifes damage). I know there is a decent thread about it on www.wc3campaigns.net but it's down right now.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top