tes3scriptVariableData⚓︎
Table returned by the tes3script:getVariableData
and tes3scriptContext:getVariableData
methods.
Properties⚓︎
index
⚓︎
Read-only. The order of occurrence of the variable in the script, starting from 0
.
Returns:
result
(integer)
type
⚓︎
Read-only. The mwscript variable type.
Type | Description |
---|---|
s |
The variable is of short type. |
f |
The variable is of float type. |
l |
The variable is of long type. |
Returns:
result
(string)
value
⚓︎
The current value of the variable.
Returns:
result
(number, nil)