%object%.StaticOrDynamic function

From ADRIFT 5 Manual Wiki
Revision as of 07:17, 8 January 2013 by Saabie (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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:

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.


<<< NameObject FunctionsListDescriptionDynamic >>>