SetUnitFacingToFaceUnitTimed

Parameters
whichUnit unit
target unit
duration real
bug

Leaks handle unitLoc: 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
return type
nothing
Source code
function SetUnitFacingToFaceUnitTimed takes unit whichUnit, unit target, real duration returns nothing
    local location unitLoc = GetUnitLoc(target)

    call SetUnitFacingToFaceLocTimed(whichUnit, unitLoc, duration)
    call RemoveLocation(unitLoc)
endfunction
Source
Blizzard.j
wc3modding.com
SetUnitFacingToFaceUnitTimed