Difference between revisions of "Global"

1 byte added ,  11:58, 20 February 2012
imported>Jog
imported>Jog
Line 15: Line 15:
===Scripting===
===Scripting===
To access global variables in Papyrus scripts, one needs to use the functions [[GetValue]] and [[SetValue]]
To access global variables in Papyrus scripts, one needs to use the functions [[GetValue]] and [[SetValue]]
  set myhour to GameHour.Getvalue()
  float myhour = GameHour.Getvalue()
  GameHour.Setvalue(10)
  GameHour.Setvalue(10)


Anonymous user