wraithseeker
Tired.
- Reaction score
- 122
JASS:
scope test
//imagine this is a system ( does not complie properly .... )
function interface what takes unit target returns nothing
private function test takes nothing returns nothing
local unit u = GetTriggerUnit()
call what.execute(u)
set u = null
endfunction
endscope
// And this is the external function to call the system
scope test
private function abc takes unit target returns nothing
local what d = what.abc
call KillUnit(target)
endfunction
endscope
A quick example I wrote, am I doing it right?