GetValue - GlobalVariable

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: GlobalVariable Script

Gets the current value of this global object.

Syntax[edit | edit source]

float Function GetValue() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The current value the global holds.

Examples[edit | edit source]

; Obtain the current time of day
int timeOfDay = TimeOfDayGlobalProperty.GetValue()

See Also[edit | edit source]