%object%.Name function

From ADRIFT 5 Manual Wiki
Revision as of 08:05, 8 January 2013 by Saabie (Talk | contribs) (%object%.Name)

Jump to: navigation, search

This function returns the combined contents of the "Article", "Prefix/Adjective" and "Name/Noun(s)" fields on the description page of an object.

If the Name/Noun(s) field contains multiple entries on different lines, then this function will use the one at the top of the list.

New Object.jpg

Using the Name function on the above object will produce:

A small wooden desk

How to use

This function prints the contents of the three name fields on the main page of an object, as a string of text. No further functions can be appended to this function.

Examples

  • %object%.Name
Name of the object referenced in a task.
  • Object12.Name
Name of object with the key "Object12"
  • Character2.CharOnWhat.Name
Name of object that the character with the key "Object12" is currently on top of.


<<< OpenStatusObject FunctionsStaticOrDynamic >>>