/doc/efun/this_player


SYNOPSIS

object this_player(void)

DESCRIPTION

Return the current command giver. This can be an interactive user or a living object like a npc.

If called from inside the heart_beat() of a not living object 0 will be returned.

this_player() does not any more take an argument, use this_interactive() instead of this_player(1).

EXAMPLE

	if (this_player() != this_interactive())
	   write("Hey, somebody must have forced us to do a
	   command!\n");

SEE ALSO

this_object
previous_object
interactive
living

| Home | Applied | Concepts | Efuns | Help | Intro | Lib | LPC | Prop | Obj | Sefuns | Std | W |

Nightfall@quest.tat.physik.uni-tuebingen.de
Automatically generated on Fre, 12. Apr 1996