Character position

From ADRIFT 5 Manual Wiki
Jump to: navigation, search

The position property of each character in ADRIFT can be set to "Standing", "Sitting" or "lying".

Testing the position of a character

You can use a property restriction to check if the character is sitting or lying down, or a character restriction can be used to check if the referenced character is in a particular position on a particular object:


Using the property to modify text to suit the position

The "CharacterPosition" function of characters can be used to obtain the current setting of this state property as text.

Inserting %character%.CharacterPosition directly into text will return "Standing", "Sitting" or "lying", for example:

Simon is Simon.CharacterPosition on the bed.

will be printed as:

Simon is sitting on the bed.

if simon was sitting down.

<<< GenderMain_PageIs this character known to the player >>>