modding:function:itmgetcount
Discuss this page on this pages TalkPage
itmGetCount
| Syntax | (itmGetCount item) → count |
|---|---|
| Arguments | item: The itemStruct of the item you want to get the number of items from. |
| Returns | The number of items. |
| Category | item |
| Description | Returns the number of items. An itemsStruct can contain many items, represented as a stack. This function is used for getting the number of items in that stack |
Example
(itmGetCount (itmCreate 0x4001 3))
Returns the number 3. Return to Functions list
modding/function/itmgetcount.txt · Last modified: by 127.0.0.1
