A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/living/query_attack
Name: query_attack - get the opponent of a living in a fight
Syntax:
object query_attack()
Description:
If a living is fighting, query_attack returns the current opponent.
Note: you can't overwrite this function.
Return value:
An object pointer to the current opponent, if the living is fighting,
else 0.
Examples:
object enemy;
enemy=this_player()->query_attack();
See also:
This page was generated in LPC
Imprint / Impressum