Difference between revisions of "%character%.CharacterPosition"
From ADRIFT 5 Manual Wiki
(Created page with " <TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER><<< Name</TD><TD WIDTH="34%" ALIGN=CENTER>Character Functions...") |
m (link) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | CharacterPosition returns the [[Character position|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. | ||
+ | [[File: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 == | ||
+ | *<span style="color:red">Character7</span>.CharacterPosition | ||
+ | : The position of the specific character with the [[key]] "Character7". | ||
+ | *<span style="color:blue">%Player%</span>.CharacterPosition | ||
+ | : The position of the character being controled by the player. | ||
− | + | *<span style="color:green">%character%</span>.CharacterPosition | |
− | + | : The position of the referenced character in a task with a %character% reference. | |
− | + | ||
− | + | ||
− | + | ||
<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> | <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]] |
Latest revision as of 04:36, 7 November 2013
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.
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.
<<< Name | Character Functions | CharacterProperName >>> |