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: | ||
'''Extends:''' [[Form Script]] | '''Extends:''' [[Form Script]] | ||
| Line 20: | Line 16: | ||
== Member Functions == | == Member Functions == | ||
:'''Float [[GetValue - GlobalVariable|GetValue]]()''' | |||
:*Returns this global variable's current value. | |||
:'''Int [[GetValueInt - GlobalVariable|GetValueInt]]()''' | |||
:*Returns this global variable's current value cast as an int. | |||
:'''Float [[Mod - GlobalVariable|Mod]](Float ''afHowMuch'')''' | |||
:*Modifies this global variable's value in a more thread-safe way. | |||
:'''[[SetValue - GlobalVariable|SetValue]](Float ''afNewValue'')''' | |||
:*Sets this global variable's current value. | |||
:'''[[SetValueInt - GlobalVariable|SetValueInt]](Int ''aiNewValue'')''' | |||
:*Sets this global variable's current value to the specified int. | |||
== Events == | == Events == | ||
None | None | ||
[[Category:Scripting]] | |||
[[Category:Papyrus]] | |||
[[Category:Script Objects]] | |||