SoUI 0.5版本占坑
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
748 B

#if 0
//--------------------------------------------//
// 本文件为自动生成,请勿编辑 //
// thanks to 最萌小汐 //
//--------------------------------------------//
#endif
#ifdef USE_BJ_ANTI_LEAK
#ifndef YDWESetUnitFacingToFaceLocTimedNullIncluded
#define YDWESetUnitFacingToFaceLocTimedNullIncluded
library YDWESetUnitFacingToFaceLocTimedNull
function YDWESetUnitFacingToFaceLocTimedNull takes unit whichUnit, location target, real duration returns nothing
local location unitLoc = GetUnitLoc(whichUnit)
call SetUnitFacingTimed(whichUnit, AngleBetweenPoints(unitLoc, target), duration)
call RemoveLocation(unitLoc)
set unitLoc = null
endfunction
endlibrary
#endif
#endif