Difference between revisions of "Global"

104 bytes added ,  15:30, 18 December 2021
Revise Keyword Redirects (in this case, add a link)
imported>HawkFest
(Revise Keyword Redirects (in this case, add a link))
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<small>For the use in functions, see [[Function_Reference#Function_Header|Function Reference]]</small>
A [[Global]] Variable is a numeric value stored by the game. Globals are often used to pass data between [[:Category:Papyrus|Scripts]] and [[:Category:Condition_Functions|Condition Functions]] or other code-driven systems.
A [[Global]] Variable is a numeric value stored by the game. Globals are often used to pass data between [[:Category:Papyrus|Scripts]] and [[:Category:Condition_Functions|Condition Functions]] or other code-driven systems.


Line 18: Line 20:
  GlobalVariable Property GameHour  auto
  GlobalVariable Property GameHour  auto
   
   
  float myhour = GameHour.Getvalue()
  float myhour = GameHour.GetValue()
  GameHour.Setvalue(10)
  GameHour.SetValue(10)


===Console===
===Console===
68

edits