%character%.CharacterAtLocation function
From ADRIFT 5 Manual Wiki
This function returns the key of the location at which the selected character is currently located.
- This function will not work if the character is on or inside an object, on another character, or is hidden.
- If you cannot be certain that the character is at a location, then you must use the following restriction in the task or an alternate description to ensure that it is.
- When the "Location of the character" property is selected, the "AtWhichLocation" property of the character displays the name (short description) of the location:
- Append the "Name" function to display this name. ie. "%character%.CharacterAtLocation.Name".
- Any of the Location Functions can be appended to the CharacterAtLocation function to display a property of the location of a character.
As well as the %character% reference, you can use the key of a character or any function that returns the key of a character with this function.
Character4.CharacterAtLocation %AloneWithChar%.CharacterAtLocation %ConvCharacter%.CharacterAtLocation %object%.Contents(Characters).CharacterAtLocation
<<< Object-oriented functions | Character Functions | CharOnWho >>> |