%character%.CharacterLocation function
From ADRIFT 5 Manual Wiki
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.
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.
<<< Gender | Character Functions | ProperName >>> |