A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/efun/remove_interactive
Efun: remove_interactive - disconnects an interactive object
Synopsis:
int remove_interactive()
Description:
Each interactive object (eg. players/wizards) has a communication
socket for sending/receiving commands and output.
Calling this efun from within such an object closes that socket
which disconnects the objects. The gamedriver calls the function
"disconnect" with the object to control what happens in such a case.
It's usually only used within a player/wizard object and cannot be
called from another object.
Return value:
1 if OK (to handle stuff after disconnect)
0 if something went wrong
See also:
This page was generated in LPC
Imprint / Impressum