mud/lib/doc/sefun/get_random_living
2020-09-06 05:43:07 -07:00

29 lines
749 B
Plaintext

GET_RANDOM_LIVING(1) GET_RANDOM_LIVING(1)
NAME
get_random_livings() - Randomly picks a living thing in a container.
SYNOPSIS
varargs object get_random_living(object container, int foo)
DESCRIPTION
Without a second argument, a living creature in the "container"
is selected at random. If the second argument is the integer 1, only
interactive living things are eligible for the selection. If the
integer is 2, only non-interactive living things are eligible for the
selection.
EXAMPLES
get_random_living(environment(this_player()), 1)
LOCATION
/secure/sefun/get_livings.c
Author
Cratylus @ Dead Souls
1