A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/efun/clonep
Name: clonep - check if an object is a clone
Syntax:
status clonep(mixed var)
Description:
The clonep efun tells you if 'var' is an object and a clone. If you
already know that 'var' is an object and clonep returns false, then
it is a blueprint or, if it's a non-cloneable object, a daemon.
If you call it without an argument (clonep()), it uses this_object().
Return value:
1, if var is a cloned object, 0 else.
Examples:
int state;
state=clonep(this_player()); // This is always true
See also:
This page was generated in LPC
Imprint / Impressum