Difference between revisions of "ShopItemID"

From Wiki
Jump to: navigation, search
(Description: Applying template to note)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{header|Shop|ro|The #shopItemID system variable determines the item ID of the current line on the shop menu.}}
== #shopItemID ==
+
'''Shop System Variables'''
+
=== Description ===
+
{{ro}}
+
  
The [[Var shopItemID|#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]].}}
 
{{Note|To initialize this variable, you need to call [[getShopInfo]].}}
  
==== See Also ====
+
 
{|
+
=See Also=
| Width=200px | [[getShopInfo]] || Width=200px | [[Var shopCurPos|#shopCurPos]] || Width=200px | [[Var shopCnt|#shopCnt]] || Width=200px | [[Var shopItemType|#shopItemType]] || Width=200px | [[Var shopItemName|#shopItemName]] || Width=200px | [[Var shopItemPrice|#shopItemPrice]] || Width=200px | [[Var shopItemMax|#shopItemMax]] 
+
{{Shop}}
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Shop|Shop System Variables]]
+
|}
+

Latest revision as of 10: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