summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index c512e2b8e..5d52abaa7 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -65,6 +65,8 @@
//= initnpctimer [Skotlex]
//= 3.03.20070226
//= Updated makeitem and how to include " in strings [Lupus]
+//= 3.03.20070228
+//= Added info on OnTimerQuit label to npctimer section. [Skotlex]
//===== Compatible With ===================================
//= LOL, can be used by anyone hopefully
//===== Description =======================================
@@ -4872,6 +4874,10 @@ The other method to attach/detach a RID is through the script commands
character the target for all character-referencing commands and functions,
not to mention variables.
+If the player that is attached to the npctimer logs out, the "OnTimerQuit:"
+event label of that npc will be triggered, so you can do the appropiate
+cleanup (the player is still attached when this event is triggered).
+
'setnpctimer' will explicitly set the timer to a given tick. To make it useful,
you will need the 'getnpctimer' function, which the type of information argument
means: