求助:zmud如何设置多个定时器?
如题,需要重复多个动作,但时间周期不同,需要设置多个定时器,zmud7.21,多谢! 462不行 721我不会462用别名嵌套比定时器好用
不懂721,如果只有一个定时器的话就每秒跑一次呗,算好时间周期来决定动作执不执行 426 用 #alarm -1.1 #alarm -1.05 man 发表于 2023-9-14 11:51 AM
426 用 #alarm -1.1 #alarm -1.05
admire man 发表于 2023-9-14 11:51 AM
426 用 #alarm -1.1 #alarm -1.05
看不太懂{:7_287:} alarm 1 和 alarm 1.01都是1秒,但是是两个定时器 man 发表于 2023-9-14 12:12 PM
alarm 1 和 alarm 1.01都是1秒,但是是两个定时器
这个命令在哪里输入? 在官方帮助里找了一段,亲测可以用,但不知在哪里可以取消、修改
More Timers
In many cases you need more than one timer.Some people try to use the tick timer for generic timers, but that's not what it is for.Reserve the tick timer for the application it was intended (predicting MUD ticks).
The #ALARM command can be used to set up all sorts of timers.The most common syntax for a recurring timer is:
#ALARM *nnn {commands}
where nnn is the timer interval.For example:
#ALARM *10:00 {save}
will save your MUD character every 10 minutes.Note that you can specify the time as a number of seconds, or as hours:minutes:seconds.
页:
[1]