Difference between revisions of "%object%.StaticOrDynamic function"
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>Object Functions</TD>...") |
|||
Line 1: | Line 1: | ||
+ | The StaticOrDynamic function returns the "Object Type" selected from two buttons on the description page of the object, which will be one of "static" or "dynamic". | ||
+ | == Requirements == | ||
+ | None. All objects have this property at all times. | ||
+ | == Properties == | ||
+ | This is a special two-state property that is selected using the Static/Dynamic buttons on the description page: | ||
+ | [[File:New_Object.jpg]] | ||
+ | == How to use == | ||
+ | This function simply returns the current state of the "Object Type" property as a single word that is inserted into the text. | ||
+ | No further functions can be appended to it. | ||
+ | == Examples == | ||
+ | *Object7.OpenStatus | ||
+ | :Prints the static/dynamic status of the object with the key "Object7". | ||
− | + | *%object%.OpenStatus | |
− | + | :Prints the static/dynamic status of the referenced object, in a task with an %object% reference. | |
− | + | ||
− | + | ||
− | + | ||
<TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[%object%.Name function|<<< Name]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Object Functions]]</TD><TD ALIGN=CENTER>[[%object%.ListDescriptionDynamic function|ListDescriptionDynamic >>>]]</TD></TABLE> | <TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[%object%.Name function|<<< Name]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Object Functions]]</TD><TD ALIGN=CENTER>[[%object%.ListDescriptionDynamic function|ListDescriptionDynamic >>>]]</TD></TABLE> | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 08:17, 8 January 2013
The StaticOrDynamic function returns the "Object Type" selected from two buttons on the description page of the object, which will be one of "static" or "dynamic".
Contents
Requirements
None. All objects have this property at all times.
Properties
This is a special two-state property that is selected using the Static/Dynamic buttons on the description page:
How to use
This function simply returns the current state of the "Object Type" property as a single word that is inserted into the text.
No further functions can be appended to it.
Examples
- Object7.OpenStatus
- Prints the static/dynamic status of the object with the key "Object7".
- %object%.OpenStatus
- Prints the static/dynamic status of the referenced object, in a task with an %object% reference.
<<< Name | Object Functions | ListDescriptionDynamic >>> |