environment

./efun/environment · 395 B

From the archive driver-docs-3.2@238-07-dec-93.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
	object environment(object obj)

DESCRIPTION
	Return the surrounding object of obj. If no argument are
	given, it returns the surrounding of the current object.
	
	Destructed objects do not have an environment.

EXAMPLE
	object room;
	room = environment(this_player());
	
	This will return the current room you are in.

SEE ALSO
	first_inventory(E), next_inventory(E), all_inventory(E)

Site Stats

Snippets: 1791
Codebases: 571