CreateItemLoc

Parameters
itemId integer
loc location
return type
item
Source code
function CreateItemLoc takes integer itemId, location loc returns item
    set bj_lastCreatedItem = CreateItem(itemId, GetLocationX(loc), GetLocationY(loc))
    return bj_lastCreatedItem
endfunction
Source
Blizzard.j
wc3modding.com
CreateItemLoc