Difference between revisions of "%character%.CharacterProperName function"
From ADRIFT 5 Manual Wiki
(Created page with " <TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER><<< CharacterPosition</TD><TD WIDTH="34%" ALIGN=CENT...") |
|||
Line 1: | Line 1: | ||
+ | This function returns the contents of the "Proper Name" field at the top of the description page for the indicated character. | ||
+ | [[File:CharacterDescription.jpg]] | ||
+ | Examples: | ||
+ | *%character%.CharacterProperName = name of the character referenced in a task. | ||
+ | *Character12.CharacterProperName = name of character with the [[key]] "Character12" | ||
+ | *%Player%.CharOnWho.CharacterProperName = name of character the player is sitting on top of | ||
+ | **You should use a restriction or | ||
+ | *%AloneWithChar%.CharacterProperName = name of the only character that is currently in the same location as the player. | ||
+ | **You should use the restriction | ||
+ | *%ConvCharacter%.CharacterProperName = name of the character that is currently in conversation with the player. | ||
− | + | see also the [[%character%.Name function]] which will return the proper name of the character if its "Known" property is set, or the descriptor (article-adjective-noun fields) if not set. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[%character%.CharacterPosition function|<<< CharacterPosition]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Character Functions]]</TD><TD ALIGN=CENTER>[[%character%.Description function|Description >>>]]</TD></TABLE> | <TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[%character%.CharacterPosition function|<<< CharacterPosition]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Character Functions]]</TD><TD ALIGN=CENTER>[[%character%.Description function|Description >>>]]</TD></TABLE> | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 02:05, 23 November 2012
This function returns the contents of the "Proper Name" field at the top of the description page for the indicated character.
Examples:
- %character%.CharacterProperName = name of the character referenced in a task.
- Character12.CharacterProperName = name of character with the key "Character12"
- %Player%.CharOnWho.CharacterProperName = name of character the player is sitting on top of
- You should use a restriction or
- %AloneWithChar%.CharacterProperName = name of the only character that is currently in the same location as the player.
- You should use the restriction
- %ConvCharacter%.CharacterProperName = name of the character that is currently in conversation with the player.
see also the %character%.Name function which will return the proper name of the character if its "Known" property is set, or the descriptor (article-adjective-noun fields) if not set.
<<< CharacterPosition | Character Functions | Description >>> |