RestoreUnitLocFacingAngleBJ

Parameters
keystring
missionKeystring
cachegamecache
forWhichPlayerplayer
loclocation
facingreal
comment
patch

1.00

Source
Blizzard.j (suggest an edit or discuss on Github)
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