GlobalVariable Script

From the CreationKit Wiki
Revision as of 18:42, 2 February 2014 by imported>CraftySentinel (Reverted To List)
Jump to navigation Jump to search

Extends: Form Script

Script for the manipulation of global variable objects.

Definition

ScriptName GlobalVariable extends Form

Properties

  • float Value [read-write]: The current value of this global variable object.

Global Functions

None

Member Functions

Float GetValue()
  • Returns this global variable's current value.
Int GetValueInt()
  • Returns this global variable's current value cast as an int.
Float Mod(Float afHowMuch)
  • Modifies this global variable's value in a more thread-safe way.
SetValue(Float afNewValue)
  • Sets this global variable's current value.
SetValueInt(Int aiNewValue)
  • Sets this global variable's current value to the specified int.

Events

None