Returns the database reference number of the location of <object>. To view the location of an object owned by someone else, it either must be in a room that you control with the Functions
power or be an object that you can see from your present location.
The location of a room or zone is the object itself, and the location of an exit is the room of its source.
Players not set Dark
can be located as long as they are in a room set with a Jump_Ok
, or Visible
flag. Zones not set Universal
can locate any object in any room belonging to the zone.
[loc(me)] => '#42'
[loc(#42)] => '#42'
"#-1 Too far away to see."
- The <object> isn't in your immediate vicinity.
See also: rloc()
From the TinyMARE Help command - Courtesy Gandalf
- 17 Feb 2017