From f53d673e4fb16502df10f8e6bd6ec03015a34d79 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 9 Jul 2018 12:23:48 -0300 Subject: Play with shake --- npc/functions/shake.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc/functions/shake.txt') 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"); -- cgit v1.2.3-60-g2f50