HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

UnitItemInSlot()

03-18-2007, 12:22 PM#1
Pyrogasm
Just noticed that the numbers of the item slots are different for the BJ function and the native.

Is this just like the Player Number thing, or am I just insane?

Collapse JASS:
function UnitItemInSlotBJ takes unit whichUnit, integer itemSlot returns item
    return UnitItemInSlot(whichUnit, itemSlot-1)
endfunction
03-18-2007, 12:24 PM#2
Skater
Its like the Playernumberthing; Itemslot 1 = Itemslot 0 and so on