Skip to content

FloatOffsetTableGet

Class Documentation

Edit documentation

A getter that returns a script variable plus a constant: variable + offset. The variable can be a Float or an Int. If the variable does not exist, the getter returns offset alone and raises no error. If the variable holds another kind, the getter fails with a script error. Read as an int, the result is truncated toward zero. See ScriptTableGet for Table and Var.

Properties

offset

F32 = 0
Edit documentation

The number added to the variable, and the result when the variable is missing.