change color of unit being trained

Status
Not open for further replies.
Level 2
Joined
Jun 17, 2017
Messages
14
Is there a way to make a unit trained be a certain colour not of its team? - E.g a Barracks training a purple footman when the team colour is blue.

I tried making a footman with its custom colour set to purple but this only seems to work when its already placed on the map.

Might be a solution using triggers?

Thanks,
 
Level 2
Joined
Feb 16, 2020
Messages
9
  • training color
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
    • Actions
      • Unit - Change color of (Trained unit) to Red
This will change the color for any trained unit, look under 'Unit' for both Event and Action to find the right one. If you want to specify a specific type of trained unit to change color, you can use 'Unit Type Comparison' under Conditions, and if you want to specify a specific player you can use 'Player Comparison'.
 
Level 2
Joined
Jun 17, 2017
Messages
14
  • training color
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
    • Actions
      • Unit - Change color of (Trained unit) to Red
This will change the color for any trained unit, look under 'Unit' for both Event and Action to find the right one. If you want to specify a specific type of trained unit to change color, you can use 'Unit Type Comparison' under Conditions, and if you want to specify a specific player you can use 'Player Comparison'.
Thanks! exactly what I was looking for :)
 
Status
Not open for further replies.
Top