LVLTimer (TeaScript)
Jump to navigation
Jump to search
LVLTimer is a function in TeaScript that allows you to read and write system variables.
To read the value of a LVLTimer use:
LVLTimer(name)
This will return the value of the LVLTimer used. Note that name is not case-sensitive.
When using a LVLTimer that is writable use:
LVLTimer(name) = value
...to change the value of the LVLTimer.
| Type | Name | Read/Write | Description |
|---|---|---|---|
| double | x
|
- | - |
| double | y
|
Read Only | - |
| double | z
|
Write Only | - |
| Name | Type | Description |
|---|---|---|
Count
|
R&W | The current number of the timer |
Intv
|
R&W | The number of frames needed for the timer to change |
Type
|
R&W | The timing mode of the timer |
Show
|
R&W | If the timer should be shown on screen
|
X
|
R&W | The x position of the timer |
Y
|
R&W | The y position of the timer |
Color
|
R&W | The SMBX color of the timer. Use built-in rgba() function
|