CreateCorpseLocBJ

Parameters
unitid integer
whichPlayer player
loc location
return type
unit
Source code
function CreateCorpseLocBJ takes integer unitid, player whichPlayer, location loc returns unit
    set bj_lastCreatedUnit = CreateCorpse(whichPlayer, unitid, GetLocationX(loc), GetLocationY(loc), GetRandomReal(0, 360))
    return bj_lastCreatedUnit
endfunction
Source
Blizzard.j
wc3modding.com
CreateCorpseLocBJ