Effect (TeaScript)

From Moondust Wiki
Jump to navigation Jump to search

Effect is a class in TeaScript.vbs that allows you to read/write values of Effects.

To read the value of Effect use:

effect(index).name

To change the value of Effect use:

effect(index).name = value
Type Name Read/Write Description
double x - -
double y Read Only -
double z Write Only -
Name Type Description
ID R&W The ID of the effect
X R&W The X coordinate of the Effect.
Y R&W The Y coordinate of the Effect.
Xsp R&W The X speed of the Effect.
Ysp R&W The Y speed of the Effect.
ExtX R&W The X placement of the Effect's GFX expansion.
ExtY R&W The Y placement of the Effect's GFX expansion.
Zpos R&W The Z-Position of the Effect.