- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
This command is bugged--instead of interpreting the passed value as an integer, it reads its ascii value. It's for changing the default team color of units.
Warcraft crashes apparently if you try to show player team colors above 12. I guess there's no way to coerce it to interpret the data as a color (like Starcraft Broodwar, where you could get extended glitchy colors by passing values between around 15-255).
This command is bugged--instead of interpreting the passed value as an integer, it reads its ascii value. It's for changing the default team color of units.
JASS:
//this sets to the teamcolor value to 52, not 4 (yellow)
//52 is the ascii value of the character "4"
//! i makechange(current, "utco", "4")
Warcraft crashes apparently if you try to show player team colors above 12. I guess there's no way to coerce it to interpret the data as a color (like Starcraft Broodwar, where you could get extended glitchy colors by passing values between around 15-255).