Difference between revisions of "%character%.CharacterLocation function"

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
(Created page with "The CharacterLocation function returns the type of the parent of the selected character, which will be one of "Hidden", "At Location", "On Object", "In Object" or "On Character"....")
 
(How to use)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
  
 
== How to use ==
 
== How to use ==
This function simply returns the type of location, of the character's location, as a single word that can be inserted into text.
+
This function simply returns the type of location, of the character's location, as a string of 1 or 2 words that can be inserted into text.
 
No further functions can be appended to it.
 
No further functions can be appended to it.
  

Latest revision as of 02:20, 14 December 2012

The CharacterLocation function returns the type of the parent of the selected character, which will be one of "Hidden", "At Location", "On Object", "In Object" or "On Character".

Properties

The "Location of the character" property of the character has a drop-down list containing the five possible settings for this state-list property. Selecting one of these states determines which location type will be returned by the CharacterLocation function.

PropertyCharacterLocation.jpg

How to use

This function simply returns the type of location, of the character's location, as a string of 1 or 2 words that can be inserted into text. No further functions can be appended to it.

Examples

  • Character7.CharacterLocation
The Character Location of the specific character with the key "Character7".
  • %Player%.CharacterLocation
The Character Location of the character being controled by the player.
  • %character%.CharacterLocation
The Character Location of the referenced character in a task with a %character% reference.


<<< GenderCharacter FunctionsProperName >>>