CreateItemLoc

Parameters
itemId integer
loc location
comment
patch

1.00

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