Browse Source

Updated script command callshop documentation
* Fixes #2419.
* Updated documentation to show that the option parameter only works on the 'shop' type NPC.
Thanks to @anacondaqq!

aleos 7 years ago
parent
commit
2572bbbcb9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      doc/script_commands.txt

+ 2 - 0
doc/script_commands.txt

@@ -6537,6 +6537,8 @@ The options are:
 	1 = The buy window
 	1 = The buy window
 	2 = The sell window
 	2 = The sell window
 
 
+Note: The <option> parameter only works on the 'shop' type NPC.
+
 A shop called with this command will trigger the labels "OnBuyItem" and "OnSellItem"
 A shop called with this command will trigger the labels "OnBuyItem" and "OnSellItem"
 (as long as an npcshop* command is executed from that NPC, see note below). These
 (as long as an npcshop* command is executed from that NPC, see note below). These
 labels, if used, will replace how the shop handles the buying and selling of items,
 labels, if used, will replace how the shop handles the buying and selling of items,