summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-09 12:23:48 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-09 12:23:48 -0300
commitf53d673e4fb16502df10f8e6bd6ec03015a34d79 (patch)
treee945fd7b23b95fb445f7353d8b4eea561c057092 /npc/functions
parent87892b544811800d1c8d1cb56198739b844c6342 (diff)
downloadserverdata-f53d673e4fb16502df10f8e6bd6ec03015a34d79.tar.gz
serverdata-f53d673e4fb16502df10f8e6bd6ec03015a34d79.tar.bz2
serverdata-f53d673e4fb16502df10f8e6bd6ec03015a34d79.tar.xz
serverdata-f53d673e4fb16502df10f8e6bd6ec03015a34d79.zip
Play with shake
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/shake.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/shake.txt b/npc/functions/shake.txt
index 62b772fb4..667f0c1b8 100644
--- a/npc/functions/shake.txt
+++ b/npc/functions/shake.txt
@@ -1,4 +1,7 @@
// Shake player screen
+// Usage:
+// set @max_shake then call OnShake
+// call OnGM
- script shake 32767,{
end;
@@ -7,7 +10,7 @@
OnShake:
@shake+=1;
movecam rand(-20,20), rand(-20,20);
- closeclientdialog;
+ //closeclientdialog;
if (@shake < @max_shake) {
addtimer(50, "shake::OnShake");