A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/living/query_npc
Name: query_npc - get NPC status
Syntax:
int query_npc()
Description:
The query_npc checks if a living is a non-player-character (NPC) or
not.
Return value: 1 if the living is an NPC, 0 if not
Examples:
int npc;
npc=this_player()->query_npc();
See also:
This page was generated in LPC
Imprint / Impressum