Difference between revisions of "SetValue - GlobalVariable"
Jump to navigation
Jump to search
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
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
Sets the current value of the global variable object. Will print an error and fail if you try to set a value on a constant global variable object.
Syntax[edit | edit source]
Function SetValue(float afValue) native
Parameters[edit | edit source]
- afValue: What value to set the global to.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Set the time of day to 0
TimeOfDayGlobalProperty.SetValue(0)