CreateCorpseLocBJ

Parameters
unitid integer
whichPlayer player
loc location
comment
patch

1.00

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