RestoreUnitLocFacingAngleBJ

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

1.00

Source
Blizzard.j
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