TinyMARE HelpText

Global Functions > Loc()



Powers: Functions

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, Link_Ok, Abode, 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(), room()

From the TinyMARE Help command - Courtesy Gandalf

-- SluggyQBFreak - 17 Feb 2017
Topic revision: r1 - 17 Feb 2017, SluggyQBFreak
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiMARE? Send feedback