Glob (Fallout4)
Summary
Represents a Global Variable form.
Properties
Name Description
string EditorId Gets or sets the Editor ID associated with this form.
uint FormId Gets the Form ID associated with this form.
bool IsConstant Gets or sets the value which indicates whether this Global Variable is a constant.
Types Type Gets or sets the type of this Global Variable.
object Value Gets or sets the value of this Global Variable.
Methods
Name Description
bool HasTag(string) Determines whether this form has been tagged with the specified text.
void Tag(string) Tags this form with the specified text.
Remarks

Valid types of a Global Variable are Types.Short, Types.Int and Types.Float. When creating a new Global Variable form property Type should be set before property Value is be set.

Value should be set to a value of the correct type as specified by property Type. The engine will try to convert the value if necessary to avoid run-time errors but large numbers may get truncated or precision may get lost if the type cannot sustain the value.

Changing the value of a constant Global Variable value results in a warning.


Return to: Index