Difference between revisions of "GetValue - GlobalVariable"
Jump to navigation
Jump to search
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
imported>JLundin m (→Examples: Fixing example to use the right type) |
||
Line 19: | Line 19: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; Obtain the current time of day | ; Obtain the current time of day | ||
float timeOfDay = TimeOfDayGlobalProperty.GetValue() | |||
</source> | </source> | ||
Revision as of 16:44, 7 February 2012
Member of: GlobalVariable Script
Gets the current value of this global object.
Syntax
float Function GetValue() native
Parameters
None.
Return Value
The current value the global holds.
Examples
; Obtain the current time of day
float timeOfDay = TimeOfDayGlobalProperty.GetValue()