From cc6db9e43dea9b0093d7f7617e6016b2635744dc Mon Sep 17 00:00:00 2001 From: gumi Date: Tue, 7 Mar 2017 11:57:29 -0500 Subject: update documentation for the timer buildins --- doc/script_commands.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 6df1f6e87..05dcf96ff 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -6475,15 +6475,16 @@ Size is 0 = normal 1 = small 2 = big. //===================================== --------------------------------------- -*addtimer(, "NPC::OnLabel") -*deltimer("NPC::OnLabel") -*addtimercount("NPC::OnLabel", ) +*addtimer(, "NPC::OnLabel"{, }) +*deltimer("NPC::OnLabel"{, }) +*addtimercount("NPC::OnLabel", {, }) These commands will create, destroy, and delay a countdown timer - addtimer() to create, deltimer() to destroy and addtimercount() to delay it by the specified number of ticks. For all three cases, the event label given is the identifier of that timer. The timer runs on the character -object that is attached to the script, and can have multiple instances. +object that is attached to the script, and can have multiple instances. +If is passed, this player will be used instead. When the label is run, it is run as if the player that the timer runs on has clicked the NPC. -- cgit v1.2.3-60-g2f50