scriptName _00E_NQ26_LeverSCN extends ObjectReference EVENT onActivate(ObjectReference akActionRef) If NQ26.GetCurrentStageID() == 40 && Game.GetPlayer().IsInCombat() == False && DoOnce == False DoOnce = True BlockActivation(True) PlayAnimationAndWait("trigger01","Trans01") _00E_NQ26_LeversGlobal.Mod(1) NQ26.UpdateCurrentInstanceGlobal(_00E_NQ26_LeversGlobal) If _00E_NQ26_LeversGlobal.GetValue() >= 4 NQ26.SetCurrentStageID(50) Else NQ26.SetObjectiveDisplayed(20, true, true) EndIf EndIf EndEvent Quest Property NQ26 Auto GlobalVariable Property _00E_NQ26_LeversGlobal Auto bool DoOnce