Difference between revisions of "Global"

Jump to navigation Jump to search
1 byte added ,  23:26, 7 July 2012
imported>Threedee
m (→‎Scripting: Added a note that global variables must be passed into the script via properties.)
imported>Threedee
Line 15: Line 15:
===Scripting===
===Scripting===
To access global variables in Papyrus scripts, the global variable must be passed into the script as a property. Then one needs to use the functions [[GetValue]] and [[SetValue]]
To access global variables in Papyrus scripts, the global variable must be passed into the script as a property. Then one needs to use the functions [[GetValue]] and [[SetValue]]
GlobalVariable Property GameHour  auto
GlobalVariable Property GameHour  auto
   .......
   .......
Anonymous user

Navigation menu