Difference between revisions of "%object%.DynamicLocation function"
From ADRIFT 5 Manual Wiki
(→How to use) |
|||
Line 7: | Line 7: | ||
== How to use == | == How to use == | ||
− | This function simply returns the type of location, of the object's location, as a | + | This function simply returns the type of location, of the object's location, as a string of 1 to 3 words that can be inserted into text. |
No further functions can be appended to it. | No further functions can be appended to it. | ||
Revision as of 02:19, 14 December 2012
The DynamicLocation function returns the type of the parent of the selected dynamic object, which will be one of "Hidden", "Held by Character", "Worn by Character", "In Location", "Inside Object" or "On Object".
Properties
The "Location of the object" property of the object has a drop-down list containing the six possible settings for this state-list property. Selecting one of these states determines which location type will be returned by the DynamicLocation function.
How to use
This function simply returns the type of location, of the object's location, as a string of 1 to 3 words that can be inserted into text. No further functions can be appended to it.
Examples
- Object7.DynamicLocation
- The Location of a specific object.
- %character%.DynamicLocation
- The Location of the referenced object, in a task with an %object% reference.
<<< Description | Object Functions | StaticLocation >>> |