Difference between revisions of "%object%.Name function"

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
(%object%.Name)
m (typo)
Line 21: Line 21:
  
 
*<span style="color:red">Character2</span>.CharOnWhat.Name
 
*<span style="color:red">Character2</span>.CharOnWhat.Name
:Name of object that the character with the [[key]] "Object12" is currently on top of.
+
:Name of object that the character with the [[key]] "Character2" is currently on top of.
  
  
 
<TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[%object%.OpenStatus function|<<< OpenStatus]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Object Functions]]</TD><TD ALIGN=CENTER>[[%object%.StaticOrDynamic function|StaticOrDynamic >>>]]</TD></TABLE>
 
<TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[%object%.OpenStatus function|<<< OpenStatus]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Object Functions]]</TD><TD ALIGN=CENTER>[[%object%.StaticOrDynamic function|StaticOrDynamic >>>]]</TD></TABLE>
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 08:07, 8 January 2013

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 "Character2" is currently on top of.


<<< OpenStatusObject FunctionsStaticOrDynamic >>>