Page 1 of 1
[JASS]change unit color
Posted: March 23rd, 2019, 2:32 am
by eddydu555
when i put any of this command under elseif -setcolor, nothing happens when i type it in in but when i put it below -vul, it works as intended...
I cant seem to understand why that's the case, pls enlighten me.
Re: [JASS]change unit color
Posted: March 28th, 2019, 3:01 pm
by haxorico
Your problem is the "GetTriggerUnit()"
This trigger isn't triggered by a unit. The event is a player chat string.
Notice that none of the previous commands GetTriggerUnit.
Re: [JASS]change unit color
Posted: April 4th, 2019, 2:04 pm
by eddydu555
I mean what's the difference between putting it below -vul and putting it below -setcolor, what's the key factor that makes it stop working? it's in the same function and everything
EDIT: nvm, it was the thing between -destid blabla endif & -int