summaryrefslogtreecommitdiff
path: root/npc/functions/shake.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/shake.txt')
-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");