A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/efun/call_other
Name: call_other - call a function in an object
Syntax:
mixed call_other(object ob, string fun, mixed arg)
Desctiption:
The call_other efun calls a function fun in an object ob with
argument arg. If no argument arg is given the function is called
with no arguments.
The function has also a special LPC syntax:
ob -> fun( arg );
Return value:
The return value of the function is returned.
Example:
A often usage is the following:
say(this_player()->query_name()+" reads the note.\n");
See also:
This page was generated in LPC
Imprint / Impressum