You can do it in the Data Editor or through Triggers.
In the Data Editor add an event to the unit's actor:
Actor Creation
Set Team Color
or
Actor Creation
Set Tint Color
In the Trigger editor, send the unit an actor message with one of the events above. You can also simply use the action Set Unit Color to change the team color of a unit.
you can clearly tell me how do I change the color of a unit? For example, from blue to red?
Team color or tint color?
You can do it in the Data Editor or through Triggers.
In the Data Editor add an event to the unit's actor:
Actor Creation
Set Team Color
or
Actor Creation
Set Tint Color
In the Trigger editor, send the unit an actor message with one of the events above. You can also simply use the action Set Unit Color to change the team color of a unit.