SetUnitFacingToFaceLocTimed
- Parameters
-
whichUnit unit
target location
duration real
- return type
nothing
- Source code
function SetUnitFacingToFaceLocTimed takes unit whichUnit, location target, real duration returns nothing local location unitLoc = GetUnitLoc(whichUnit) call SetUnitFacingTimed(whichUnit, AngleBetweenPoints(unitLoc, target), duration) call RemoveLocation(unitLoc) endfunction
- Source
- Blizzard.j
- wc3modding.com
- SetUnitFacingToFaceLocTimed