Difference between revisions of "Global"

1 byte added ,  00:26, 8 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