Azrooh
New Member
- Reaction score
- 5
I've been searching through threads, but whenever I try to use local player to set the transparency of picked unit to 100% for the owner of picked unit, it isn't working. How would I go about doing this?
function Blah takes nothing returns nothing
local unit u = GetFilterUnit ()
if GetLocalPlayer() == GetOwningPlayer(u) then
call SetUnitVertexColor (u, 255,255,255,0) //red, blue, green, alpha, play with the colors to get what u want
endif
set u = null
endfunction
Desyncing. I think.