- Reaction score
- 456
>call dat.callback.execute(dat.whichUnit)
But if the callback function doesn't have "takes unit"?
But if the callback function doesn't have "takes unit"?
function GetFadedUnit takes nothing returns nothing
return globalunitvariable
endfunction
//...
if (dat.<something-that-can-be-executed> != null) then
set globalunitvariable = dat.whichUnit
call <the-right-execute-function>(dat.<something-that-can-be-executed>)
endif
//...
function FadeUnit takes unit whichUnit, real duration, real minimumFade, <something-that-can-be-executed> callback returns nothing
nop....Okay so.. Cohadar helped me out with this system (thanks ), and wrote it to use ABC.
But the deal is.. I don't understand a shit of the code now.. .. It'd be stupid if I just posted here a code, without knowing what it exactly does.
So the question is.. should I really update the system to newest version which uses ABC?
nop....
what's the point if you don't understand anything written in there?
it would be totally useless to post something like that it would be better if you learn how to use ABC and understand the whole trigger first