A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/living/test_if_any_here
Name: test_if_any_here - check if anyone is present
Syntax:
int test_if_any_here()
Description:
The test_if_any_here function checks if an interactive player is
still present in the current room. The function is usually used by
monsters, which turn off the heart beat, if nobody is present.
Return value:
1 if an interactive player is present, 0 if not
Examples:
this_player()->test_if_any_here();
See also:
This page was generated in LPC
Imprint / Impressum