A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/efun/call_out


Name: call_out - call a function with delay

Syntax:
	call_out(function fun, int delay, mixed arg)

Description:
	The call_out efun calls the function fun in the current object
	after delay seconds and with argument arg.

	Unlike call_other there can be only one argument to the function
	in call_out.

	If the function is called after the number of seconds, this_player()
	is set to the current player at the time the call_out was issued.

Return value: none

Examples:
	reset() { call_out("ring", 10, 0); }
	ring() { tell_room(environment(), "RRIIIIIINNNG!\n"); }

Note:
	call_out canNOT call functions that are declared as static!
	And via call_out you canNOT call efuns directly!

See also:


This page was generated in LPC

Imprint / Impressum