CreateCorpseLocBJ

Parameters
unitidinteger
whichPlayerplayer
loclocation
comment
patch

1.00

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