GlobalVariable Script: Difference between revisions

Jump to navigation Jump to search
m
Reverted To List
imported>CraftySentinel
m (→‎Member Functions: Formatting Change)
imported>CraftySentinel
m (Reverted To List)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
'''Extends:''' [[Form Script]]
'''Extends:''' [[Form Script]]


Line 20: Line 16:
== Member Functions ==
== Member Functions ==


{|class="wikitable" width =100%
:'''Float [[GetValue - GlobalVariable|GetValue]]()'''
!style="text-align:left;"|Function
:*Returns this global variable's current value.
!style="text-align:left;"|Description
|-
|[[GetValue - GlobalVariable|Float '''GetValue'''()]]
|Returns this global variable's current value.
|-


|[[GetValueInt - GlobalVariable|Int '''GetValueInt'''()]]
:'''Int [[GetValueInt - GlobalVariable|GetValueInt]]()'''
|Returns this global variable's current value cast as an int.
:*Returns this global variable's current value cast as an int.
|-


|[[Mod - GlobalVariable|Float '''Mod'''(Float ''afHowMuch'')]]
:'''Float [[Mod - GlobalVariable|Mod]](Float ''afHowMuch'')'''
|Modifies this global variable's value in a more thread-safe way.
:*Modifies this global variable's value in a more thread-safe way.
|-


|[[SetValue - GlobalVariable|'''SetValue'''(Float ''afNewValue'')]]
:'''[[SetValue - GlobalVariable|SetValue]](Float ''afNewValue'')'''
|Sets this global variable's current value.
:*Sets this global variable's current value.
|-


|[[SetValueInt - GlobalVariable|'''SetValueInt'''(Int ''aiNewValue'')]]
:'''[[SetValueInt - GlobalVariable|SetValueInt]](Int ''aiNewValue'')'''
|Sets this global variable's current value to the specified int.
:*Sets this global variable's current value to the specified int.
|-
 
|}


== Events ==
== Events ==
None
None
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]

Navigation menu