lep / jassdoc

Document the WarCraft 3 API
52 stars 20 forks source link

SetUnitColor can reset something? #19

Closed Cokemonkey11 closed 2 years ago

Cokemonkey11 commented 5 years ago

@lep you had some concern about using SetUnitColor in my map, and it maybe resetting the local player's choice for team color vs player colors.

https://github.com/lep/jassdoc/blob/master/unit.j#L152

Luashine commented 2 years ago

It does not affect user's unit coloring preference (ALT+A, modes 1-3). These work regardless of the SetUnitColor and will show the manually set color when modes 1/2 are enabled again.