» Tue Feb 19, 2013 10:28 pm
I'm re-posting this because it seems to have been overlooked and I am desperate. I am trying to count clues using a GlobalVariable Float. Two clues an invisibility potion and some scales (misc). I'm using an OnContainerChanged event because I don't know what else to call even though both of the clues are on the floor in the cell and are enabled at the correct quest stage. This script compiles but global counter stays at zero. PreReqStage is 40 (when the 2 clues are enabled by a script fragment), StageToSet is 50 when both clues have been taken by the player. Other script on the clues are simply debug messageboxes "You've found an invisibility potion" and on the scales "You've found some scales but they are not fish scales."GlobalVariable property GalleryClues AutoQuest Property myquest AutoInt Property PreReqStage AutoInt Property StageToSet Auto Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)if myQuest.GetStage() == preReqStage if akNewContainer == Game.GetPlayer()GalleryClues.Mod(1) if GalleryClues.GetValue() == 2myQuest.SetStage(StageToSet)endifendifendifEndEventThis is driving me nuts.