Location Functions

From ADRIFT 5 Manual Wiki
Revision as of 13:01, 26 September 2012 by Saabie (Talk | contribs) (location reference "%location%")

Jump to: navigation, search

The properties of locations can be listed by typing a dot (full-stop ".") immediately after the location reference "%location%", a location key, or a function that returns a location key, in a text box or expression.

Scroll down to the wanted property and click on it to insert the property key into the function.

  • Note that properties that are not relevant to a particular location will be ommited from the list.
  • Properties that you create for locations will be added to this list.
  • If you type part of the name of the property then the list will be reduced to show only those that match.
  • Instead of clicking with the mouse you can type enough of the properties name to bring it to the top of the list and press enter or tab.

FunctionsLocation.jpg

IconGroup.jpg Group properties

  • exits - Exits from this location
    • exits.list - List available exits from this location (those not blocked by a restriction)
    • exits.count - The number of available exits from this location

IconText.jpg Text properties

  • Long location description (LongLocationDescription) - The full description of the location
  • Short location description - The name of the location

IconDynamicObject.jpg Object properties

  • Objects - Lists the dynamic objects at this location