Difference between revisions of "Character Functions"
From ADRIFT 5 Manual Wiki
m (fixed links) |
|||
Line 34: | Line 34: | ||
:<font color="green">%character%</font>.CharExits | :<font color="green">%character%</font>.CharExits | ||
*[[%character%.Descriptor function|Descriptor]] | *[[%character%.Descriptor function|Descriptor]] | ||
− | :<font color="green">%character%</font>.Descriptor | + | :<font color="green">%character%</font>.Descriptor - Article, adjective and noun of character descriptor. |
*[[%character%.Gender function|Gender]] | *[[%character%.Gender function|Gender]] | ||
:<font color="green">%character%</font>.Gender - Male, female or unknown | :<font color="green">%character%</font>.Gender - Male, female or unknown | ||
Line 45: | Line 45: | ||
[[File:IconInteger.jpg]] Integer properties | [[File:IconInteger.jpg]] Integer properties | ||
− | *[[%character%.MaxBulk|Maximum size of held items]] | + | *[[%character%.MaxBulk function|Maximum size of held items]] |
:<font color="green">%character%</font>.MaxBulk - The max. number of tiny objects that this character can carry (If set for this character) | :<font color="green">%character%</font>.MaxBulk - The max. number of tiny objects that this character can carry (If set for this character) | ||
− | *[[%character%.MaxWeight|Maximum weight of held items]] | + | *[[%character%.MaxWeight function|Maximum weight of held items]] |
:<font color="green">%character%</font>.MaxWeight - Where a tiny object has weight = 1. | :<font color="green">%character%</font>.MaxWeight - Where a tiny object has weight = 1. | ||
[[File:IconGroup.jpg]] Group properties | [[File:IconGroup.jpg]] Group properties | ||
− | *[[%character%.Held|Held]] | + | *[[%character%.Held function|Held]] |
:<font color="green">%character%</font>.Held - A list of all objects held by the character | :<font color="green">%character%</font>.Held - A list of all objects held by the character | ||
− | *[[%character%.Worn|Worn]] | + | *[[%character%.Worn function|Worn]] |
:<font color="green">%character%</font>.Worn - A list of all objects worn by the character | :<font color="green">%character%</font>.Worn - A list of all objects worn by the character | ||
[[File:IconDynamicObject.jpg]] Object properties | [[File:IconDynamicObject.jpg]] Object properties | ||
− | *[[%character%.CharInsideWhat|Inside which object?]] | + | *[[%character%.CharInsideWhat function|Inside which object?]] |
:<font color="green">%character%</font>.CharInsideWhat - The key of the container object that the character is inside of | :<font color="green">%character%</font>.CharInsideWhat - The key of the container object that the character is inside of | ||
− | *[[%character%.CharOnWhat|On which object?]] | + | *[[%character%.CharOnWhat function|On which object?]] |
:<font color="green">%character%</font>.CharOnWhat - The key of the supporter object that the character is on top of | :<font color="green">%character%</font>.CharOnWhat - The key of the supporter object that the character is on top of | ||
[[File:IconStaticObject.jpg]] Item properties | [[File:IconStaticObject.jpg]] Item properties | ||
− | *[[%character%.Parent|Parent]] | + | *[[%character%.Parent function|Parent]] |
:<font color="green">%character%</font>.Parent - The key of the location or object that immediately contains the character | :<font color="green">%character%</font>.Parent - The key of the location or object that immediately contains the character | ||
Revision as of 08:00, 20 November 2012
The object-oriented functions for characters can be listed by typing a dot (full-stop ".") immediately after the character reference "%character%", a character key, or the player-character function %Player%, in either a text box or an expression.
These names are CASE SENSITIVE. "%Character%." wont work, you must type "%character%."
This allows direct access to the property values of any character, location or object without having to use the %PropertyValue[]% function
Scroll down to the wanted property and click on it to insert the property key into the function.
- Note that properties that are not relevant to a particular character will be ommited from the list.
- Properties that you create and add to the characters will be added to this list.
- If you type part of the name of the property then the list will be reduced to show only those that match.
- Instead of clicking with the mouse you can type enough of the properties name to bring it to the top of the list and press enter or tab.
- %character%.CharacterAtLocation - Displays the KEY of the characters current location. Entering another dot after this will access the properties of that location.
- %character%.CharOnWho - Key of character that this character is sitting on.
- %character%.CharacterPosition - Standing, sitting or lying
- %character%.CharacterProperName
- %character%.Description
- %character%.CharEnters
- %character%.CharExits
- %character%.Descriptor - Article, adjective and noun of character descriptor.
- %character%.Gender - Male, female or unknown
- %character%.CharacterLocation - Name (short descripton) of the current location of the character.
- %character%.ProperName
- %character%.CharHereDesc
- %character%.MaxBulk - The max. number of tiny objects that this character can carry (If set for this character)
- %character%.MaxWeight - Where a tiny object has weight = 1.
- %character%.Held - A list of all objects held by the character
- %character%.Worn - A list of all objects worn by the character
- %character%.CharInsideWhat - The key of the container object that the character is inside of
- %character%.CharOnWhat - The key of the supporter object that the character is on top of
- %character%.Parent - The key of the location or object that immediately contains the character
<<< Object-oriented functions | Main Page | Object Functions >>> |