diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-03-07 11:57:29 -0500 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-03-07 11:57:29 -0500 |
commit | cc6db9e43dea9b0093d7f7617e6016b2635744dc (patch) | |
tree | e8e7984e67c9662b651d0fcae598f54ea90def6d /doc | |
parent | 9a9294956a47a4eee51b072f6e23ede28962fa69 (diff) | |
download | hercules-cc6db9e43dea9b0093d7f7617e6016b2635744dc.tar.gz hercules-cc6db9e43dea9b0093d7f7617e6016b2635744dc.tar.bz2 hercules-cc6db9e43dea9b0093d7f7617e6016b2635744dc.tar.xz hercules-cc6db9e43dea9b0093d7f7617e6016b2635744dc.zip |
update documentation for the timer buildins
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 9 |
1 files changed, 5 insertions, 4 deletions
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(<ticks>, "NPC::OnLabel") -*deltimer("NPC::OnLabel") -*addtimercount("NPC::OnLabel", <ticks>) +*addtimer(<ticks>, "NPC::OnLabel"{, <account id>}) +*deltimer("NPC::OnLabel"{, <account id>}) +*addtimercount("NPC::OnLabel", <ticks>{, <account id>}) 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 <acccount id> 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. |