|
楼主 |
发表于 2009-8-8 16:37:33
|
显示全部楼层
这样,我举个例子,只写动作。
local location dian
set dian = Location(-2.30, -7941.20)
call SetUnitPositionLoc( GetTriggerUnit(), dian )
call RemoveLocation( dian )
set dian = null
这个和下面的比较哪个好点。
local location dian
set dian = GetRectCenter(gg_rct_star)
call SetUnitPositionLoc( GetTriggerUnit(), dian )
call RemoveLocation( dian )
set dian = null
又或还有更好的。 |
|