A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/monster/random_move
Lfun: random_move - force a monster to make a random move
Synopsis:
void random_move()
Description:
The random_move call forces a monster to make a random move. First
the environment of the monster is queried for a destination, see
room/random_monster_move. If no direction is provided, or the function
does not exist, the direction is selected randomly from the standard
directions north, east, south, west, northwest...
Return value:
none
Examples:
find_living("harry")->random_move();
See also:
room/random_monster_move
This page was generated in LPC
Imprint / Impressum