%character%.Name function

From ADRIFT 5 Manual Wiki
Revision as of 05:17, 26 December 2012 by Saabie (Talk | contribs) (v27 - parameters added to character name function)

Jump to: navigation, search

This function can be used to display the name of a character, its descriptor, or an appropriate pronoun such as I, you, he, she, it, me, you, him, her, my, your, his, her, its, myself, yourself, himself, herself, or itself.

This function has two optional parameters that can be specified in parentheses after the function name, the pronoun type and the article to use in the descriptor: eg. %character%.Name( Pronoun_type, Article )

%character%.Name

With no parameters specified, this function defaults to the subjective pronoun.

The actual word that is displayed is determined by the "Player Perspective" setting on the "Options" dialog.

  • First person - Displays "I"
  • Second person - Displays "you"
  • Third person - Uses the setting of the "Gender" property of the character to determine the correct pronoun:
    • Male - Displays "he"
    • Female - Displays "she"
    • Unknown - Displays "it"
%character%.Name(Object)

"Object(ive)" or "Target" indicates that an objective pronoun should be used.

The actual word that is displayed is determined by the "Player Perspective" setting on the "Options" dialog.

  • First person - Displays "me"
  • Second person - Displays "you"
  • Third person - Uses the setting of the "Gender" property of the character to determine the correct pronoun:
    • Male - Displays "him"
    • Female - Displays "her"
    • Unknown - Displays "it"
%character%.Name(Possessive)

"Possessive" indicates that a possessive pronoun should be used.

The actual word that is displayed is determined by the "Player Perspective" setting on the "Options" dialog.

  • First person - Displays "my"
  • Second person - Displays "your"
  • Third person - Uses the setting of the "Gender" property of the character to determine the correct pronoun:
    • Male - Displays "his"
    • Female - Displays "hers"
    • Unknown - Displays "its"
%character%.Name(Reflective)

"Reflective" indicates that a reflective pronoun should be used.

The actual word that is displayed is determined by the "Player Perspective" setting on the "Options" dialog.

  • First person - Displays "myself"
  • Second person - Displays "yourself"
  • Third person - Uses the setting of the "Gender" property of the character to determine the correct pronoun:
    • Male - Displays "himself"
    • Female - Displays "herself"
    • Unknown - Displays "itself"
%character%.Name(None)

"None" indicates that no pronoun will be used to replace the characters name.

With the "None" parameter specified, this function will use the current setting of the character's "Known" property to determine what to display:

  • Character is "Known" - Displays the contents of the "Proper Name" field at the top of the description page for the indicated character.
  • "Known" is not selected - Displays the character's descriptor (the combined article-adjective-noun fields on the description tab).
For the character shown below, it will return either "John Smith" or "A tall man".

CharacterDescription.jpg

  • Article - If this option is specified when Pronoun_type is set to "none" and the character is not "Known", then instead of using the article specified in the characters descriptor, the specified article will be used:
%character%.Name(None, the)

Definite article - Uses "the" instead of the article specified in the characters descriptor.

%character%.Name(None, a)

Indefinite article - Uses "a" instead of the article specified in the characters descriptor.

This function does not do Character Name substitution. To create more natural sounding text automatically, use the %CharacterName% function instead.


<<< CharOnWhoCharacter FunctionsCharacterPosition >>>