Difference between revisions of "%character%.CharacterPosition"

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
m (fixed links)
m
Line 23: Line 23:
  
  
<TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[%character%.CharacterName function|<<< CharacterName]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Character Functions]]</TD><TD ALIGN=CENTER>[[%character%.CharacterProperName function|CharacterProperName >>>]]</TD></TABLE>
+
<TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[%character%.Name function|<<< Name]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Character Functions]]</TD><TD ALIGN=CENTER>[[%character%.CharacterProperName function|CharacterProperName >>>]]</TD></TABLE>
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 02:34, 11 December 2012

CharacterPosition returns the position of the selected character, which will be one of "standing", "sitting" or "lying".

Properties

The "Character Position" property of the character has a drop-down list containing the three possible settings for this state-list property. Selecting one of these states determines which position will be returned by the CharacterPosition function.

PropertyCharacterPosition.jpg

How to use

This function simply returns the position of the character as a single word that can be inserted into text. No further functions can be appended to it.

Examples

Character7.CharacterPosition
The position of the specific character with the key "Character7".


%Player%.CharacterPosition
The position of the character being controled by the player.


%character%.CharacterPosition
The position of the referenced character in a task with a %character% reference.


<<< NameCharacter FunctionsCharacterProperName >>>