ScriptName _00E_SetGlobalOnUnload Extends ObjectReference ;-- Variables --------------------------------------- ;-- Properties -------------------------------------- GlobalVariable Property GlobalVar Auto Int Property value Auto ;-- Functions --------------------------------------- ; Skipped compiler generated GetState ; Skipped compiler generated GotoState Event OnLoad() GlobalVar.SetValue(Value as Float) Debug.MessageBox("Goal loaded") EndEvent