RestoreUnitLocFacingAngleBJ

Parameters
key string
missionKey string
cache gamecache
forWhichPlayer player
loc location
facing real
comment
patch

1.00

return type
unit
Source code
function RestoreUnitLocFacingAngleBJ takes string key, string missionKey, gamecache cache, player forWhichPlayer, location loc, real facing returns unit
    //call SyncStoredUnit(cache, missionKey, key)
    set bj_lastLoadedUnit = RestoreUnit(cache, missionKey, key, forWhichPlayer, GetLocationX(loc), GetLocationY(loc), facing)
    return bj_lastLoadedUnit
endfunction
Source
Blizzard.j
wc3modding.com
RestoreUnitLocFacingAngleBJ