Difference between revisions of "Location Functions"

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
(Created page with "The properties of locations can be listed by typing a dot (full-stop ".") immediately after a location key, or a function that returns a key, in a text box or expression. Scrol...")
 
m
Line 5: Line 5:
 
Note that properties that are not relevant to a particular location will be ommited from the list.
 
Note that properties that are not relevant to a particular location will be ommited from the list.
  
Properties that you create and add the locations will be added to this list.
+
Properties that you create for locations will be added to this list.
  
 
[[File:FunctionsLocation.jpg]]
 
[[File:FunctionsLocation.jpg]]

Revision as of 03:06, 30 June 2012

The properties of locations can be listed by typing a dot (full-stop ".") immediately after a location key, or a function that returns a 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.

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