romanandre
New Member
- Reaction score
- 2
How do I make something like:
Its just and exemple, I know I have to use stucts and SetTimerData, but where is a tutorial to show it more detailed, I havent figured it out by just other instances.
Thanks for help.
JASS:
somefunc takes unit u, unit attacker, real dmg returns nothing
UnitDamageTarget( u, attacker, real , true, true, AT, DT, WT)
endfunction
public otherfunc takes unit u, unit attacker, real dmg returns nothing
timer t=NewTimer()
TimerStart(t, TIME, false, function somefunc(u, attacker, real)
endfunction
Its just and exemple, I know I have to use stucts and SetTimerData, but where is a tutorial to show it more detailed, I havent figured it out by just other instances.
Thanks for help.