call_out(3) MudOS v21c2
(5 Sep 1994)
名称:
call_out() - 延迟调用同一个物件中的函数.
语法:
void call_out( string | function fun, int delay, mixed arg );
无返回值 call_out( 字符串 或 函数 fun, 整数 delay, 混合 arg );
用法:
设定在 this_object() 中, 延迟 delay 秒调用函数 fun. 而 arg 当作参数传入
fun 中.
请注意, 你不能在 fun 中调用 write() 或 say(), 因为 this_player()
被设定成 0. 你可以用 tell_object() 代替.
如果在 driver 的 options.h 中定义 THIS_PLAYER_IN_CALL_OUT, 就可以解决这个问题.
参考:
翻译:
Spock @ FF 96.Oct.16. (printed 3/16/95)
回到上一页