UseInventoryItem
Lua global function
- Function
- Script::UseInventoryItem ui
- Meaning
- Uses the item in an inventory slot on the target or the player verified, proof one
- Registered in
- global table s_inventoryFunctions ui
- Registrar pair
- 0x848518
- Arguments
- at least 2 lower bound
- Returns
0values exact, kinds()agree
Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.
Cited in 1
- Using and cursor tests in ui: inventory, container, bank and vendor getters