I'm not quite sure what exactly is causing this problem, and would appreciate any help the denizens of this forums could provide.
ScriptName CohRandomizerScript Extends Quest;GlobalsGlobalVariable Property cohRandomSeed autoGlobalVariable Property cohMoonPhase autoGlobalVariable Property GameHour auto;Localsbool Property bkeepupdating = true autoint Property ChanceVariable autoEvent OnInit()RegisterForSingleUpdate(1)EndEventEvent OnUpdate()ChanceVariable == utility.RandomInt( -4 , 4 )while GameHour.Value != 12; idleEndWhilecohRandomSeed.SetValue( ChanceVariable )endifif bkeepupdating == trueRegisterForSingleUpdate(1)endifEndEvent


