summaryrefslogtreecommitdiff
path: root/server/scripts/evol_script_commands.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-29 23:14:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-29 23:14:23 +0300
commitb4fef367ff152e0804435b039c05f5e0566d4bf1 (patch)
treec512564767f39a0fdb50f8a7468b5b0b6224efdc /server/scripts/evol_script_commands.txt
parentaf423d7d01ad01faaab863def03691ee1bd5cdf3 (diff)
downloaddocs-b4fef367ff152e0804435b039c05f5e0566d4bf1.tar.gz
docs-b4fef367ff152e0804435b039c05f5e0566d4bf1.tar.bz2
docs-b4fef367ff152e0804435b039c05f5e0566d4bf1.tar.xz
docs-b4fef367ff152e0804435b039c05f5e0566d4bf1.zip
Add some more evol script commands.
Diffstat (limited to 'server/scripts/evol_script_commands.txt')
-rw-r--r--server/scripts/evol_script_commands.txt51
1 files changed, 51 insertions, 0 deletions
diff --git a/server/scripts/evol_script_commands.txt b/server/scripts/evol_script_commands.txt
index e8571e4..b6f1c23 100644
--- a/server/scripts/evol_script_commands.txt
+++ b/server/scripts/evol_script_commands.txt
@@ -49,3 +49,54 @@ Disable camera moving mode in client and set camera to default position.
Example:
restorecam;
+---------------------------------------
+
+*npctalk3 text
+
+Send chat message from current npc, visible only for attached player.
+Npc name will be translated.
+
+Example:
+ npctalk3 "hello";
+
+---------------------------------------
+
+*closedialog
+
+Will close npc dialog in client. If npc script will continue after this command,
+dialog can be opened again.
+
+Example:
+ closedialog;
+
+---------------------------------------
+
+*shop npcName
+
+Open if exists for attached player npc shop from npc with name "npcName"
+
+Example:
+ shop "bag";
+
+---------------------------------------
+
+*getitemlink itemName [, cardName1 [, cardName2 [, cardName3 [, cardName4]]]]
+*getitemlink itemId [, cardName1 [, cardName2 [, cardName3 [, cardName4]]]]
+
+Return link for item id "itemId" or name "itemName" with cards.
+This link after can be used in mes or other commands what show messages in npc dialog.
+
+Example:
+ mes "Acorn link: " + getitemlink(Acorn);
+ mes getitemlink(VneckJumper, MintCashmereDye);
+
+---------------------------------------
+
+*getinvindexlink index
+
+Return link to item by player inventory index. Also return cards in link.
+This link after can be used in mes or other commands what show messages in npc dialog.
+Inventory index counted from 0.
+
+Example:
+ mes "link here: " + getinvindexlink(3);