Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleSyntax

 tag(tagPath)

  • Parameters

string tagPath - The tag path to the tag.

  • Results

object - The value of the tag. The object returned by the function may need to be converted to a standard data type using one of the various Type Casting functions.


Panel
titleExamples


Code Block
languageactionscript3
titleCode Snippet
tag("Tanks/Tank5") //returns Tank5's value.


Code Block
languageactionscript3
titleCode Snippet
tag("Tanks/Tank" + {Root Container.TankNum}) //returns the value for the tank represented by the dynamic property TankNum on the Root Container.


...