scope random initializer Init
private function actions takes nothing returns nothing
call TriggerSleepAction(5.00)
endfunction
private function Init takes nothing returns nothing
//insert events here
endfunction
endscope
function Actions takes nothing returns nothing
local unit u = CreateUnit(Player(0), 'hpea', 0., 0., 0.)
call TriggerSleepActions(10.)
call RemoveUnit(u)
set u = null
endfunction