- Joined
- Oct 29, 2007
- Messages
- 1,184
I want to make a function that fades in a unit. I currently have this:
Will this stack if I call this function on multiple units simultaniously? If not, how can I create something equivalent?
JASS:
function fade takes unit u returns nothing
local integer i = 0
loop
set i = i + 4
call SetUnitVertexColor(u, 255, 255, 255, i)
call TriggerSleepAction(0.03)
exitwhen i > 255
endloop
endfunction
Will this stack if I call this function on multiple units simultaniously? If not, how can I create something equivalent?