Setitemnum (call target)

From Final Fantasy XII Wiki
Revision as of 07:22, 24 July 2019 by Admin (talk | contribs) (Created page with "{{Call|id=0x055c|return=|name=setitemnum|args=u_short itemId, int amount|act=}}Sets amount of given item in inventory. If <code>amount</code> is zero, item is completely remo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Signature:

void setitemnum(u_short itemId, int amount); // id: 0x055c

Sets amount of given item in inventory.

If amount is zero, item is completely removed. Doesn't unequip items.