Difference between revisions of "ShopItemID"
From Wiki
(→Description: Applying template to note) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{header|Shop|ro|The #shopItemID system variable determines the item ID of the current line on the shop menu.}} | |
− | + | ||
− | + | ||
− | + | ||
− | {{ro}} | + | |
− | |||
{{Note|To initialize this variable, you need to call [[getShopInfo]].}} | {{Note|To initialize this variable, you need to call [[getShopInfo]].}} | ||
− | + | ||
− | { | + | =See Also= |
− | + | {{Shop}} | |
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + |
Latest revision as of 09:14, 7 September 2007
⇒ | The #shopItemID system variable determines the item ID of the current line on the shop menu. |
Note: | To initialize this variable, you need to call getShopInfo. |
See Also
Shop
- The shop system variables allow you to work with NPC vendor gumps through the use of the getShopInfo command.
#shopCurPos | ⇒ | Returns the current position on the shop menu |
#shopCnt | ⇒ | Returns the total number of lines on the shop menu |
#shopItemType | ⇒ | Returns the item type of the current line on the shop menu |
#shopItemID | ⇒ | Returns the item ID of the current line on the shop menu |
#shopItemName | ⇒ | Returns the name of the item the current line on the shop menu |
#shopItemPrice | ⇒ | Returns the price of the current line in the shop menu |
#shopItemMax | ⇒ | Returns the number of items in the stack of the current line in the shop menu |