Difference between revisions of "GetValue - GlobalVariable"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>JLundin
m (→‎Examples: Fixing example to use the right type)
imported>JLundin
 
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Papyrus]]
[[Category:Non-delayed Native Function]]
'''Member of:''' [[GlobalVariable Script]]
'''Member of:''' [[GlobalVariable Script]]



Latest revision as of 08:11, 12 September 2012

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
float timeOfDay = TimeOfDayGlobalProperty.GetValue()

See Also[edit | edit source]