Section (TeaScript)

From Moondust Wiki
Jump to navigation Jump to search

Section is a class in TeaScript.vbs that allows you to read/write values of level sections.

To read the value of Section use:

Section(index).name

To change the value of Section use:

Section(index).name = value
Type Name Read/Write Description
double x - -
double y Read Only -
double z Write Only -
Name Type Description
width R&W The current width of the section.
height R&W The current height of the section.
x R&W The top left X coordinate of the section.
y R&W The top left Y coordinate of the section.
Forcewidth R&W Unknown
Forceheight R&W Unknown