Venge22
New Member
- Reaction score
- 10
Can sum 1 help me fix this leak in this trigger? +rep if u do.
function Trig_Untitled_Trigger_002_Func001002 takes nothing returns nothing
call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_demon), "attack", GetRectCenter(gg_rct_middle) )
endfunction
function Trig_Untitled_Trigger_002_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsInRectAll(GetPlayableMapRect()), function Trig_Untitled_Trigger_002_Func001002 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'hfoo', Player(11), GetRandomLocInRect(gg_rct_demon), GetRandomLocInRect(gg_rct_demon) )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_002 takes nothing returns nothing
set gg_trg_Untitled_Trigger_002 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Untitled_Trigger_002, 2 )
call TriggerAddAction( gg_trg_Untitled_Trigger_002, function Trig_Untitled_Trigger_002_Actions )
endfunction
function Trig_Untitled_Trigger_002_Func001002 takes nothing returns nothing
call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_demon), "attack", GetRectCenter(gg_rct_middle) )
endfunction
function Trig_Untitled_Trigger_002_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsInRectAll(GetPlayableMapRect()), function Trig_Untitled_Trigger_002_Func001002 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'hfoo', Player(11), GetRandomLocInRect(gg_rct_demon), GetRandomLocInRect(gg_rct_demon) )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_002 takes nothing returns nothing
set gg_trg_Untitled_Trigger_002 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Untitled_Trigger_002, 2 )
call TriggerAddAction( gg_trg_Untitled_Trigger_002, function Trig_Untitled_Trigger_002_Actions )
endfunction