TriggerRegisterEnterRectSimple

Parameters
trig trigger
r rect
bug

Leaks handle rectRegion: In Jass you must set local variables that hold agents (or any child type) to null at the end of functions to avoid reference counter leaks.

comment
patch

1.00

return type
event
Source code
function TriggerRegisterEnterRectSimple takes trigger trig, rect r returns event
    local region rectRegion = CreateRegion()
    call RegionAddRect(rectRegion, r)
    return TriggerRegisterEnterRegion(trig, rectRegion, null)
endfunction
Source
Blizzard.j
wc3modding.com
TriggerRegisterEnterRectSimple