Difference between revisions of "Global"

1 byte removed ,  00:27, 8 July 2012
Undo revision 32689 by Threedee (talk) formatting problems, different from preview
imported>Threedee
imported>Threedee
(Undo revision 32689 by Threedee (talk) formatting problems, different from preview)
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