CreateCorpseLocBJ
- Parameters
unitid integerwhichPlayer playerloc location- comment
- patch
1.00
- Source
- Blizzard.j (raise an issue to discuss on Github or submit a PR)
- 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