RestoreUnitLocFacingPointBJ
- Parameters
-
key string
missionKey string
cache gamecache
forWhichPlayer player
loc location
lookAt location
- comment
- patch
1.00
- Source
- Blizzard.j
- return type
unit
- Source code
function RestoreUnitLocFacingPointBJ takes string key, string missionKey, gamecache cache, player forWhichPlayer, location loc, location lookAt returns unit //call SyncStoredUnit(cache, missionKey, key) return RestoreUnitLocFacingAngleBJ(key, missionKey, cache, forWhichPlayer, loc, AngleBetweenPoints(loc, lookAt)) endfunction