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)
回到上一頁