Scriptname _00E_PlayerControlsSwitchActivation extends ObjectReference Event OnTriggerEnter(ObjectReference akactionref) if akactionref == game.getplayer() && QuestID.GetCurrentStageID() == StageValue Game.EnablePlayerControls(abMovement = true,abFighting = false,abCamSwitch = false,abLooking = true,abSneaking = false,abMenu = false,abActivate = true,abJournalTabs = true,aiDisablePOVType = 0) endif EndEvent Event OnTriggerLeave(ObjectReference akactionref) if akactionref == game.getplayer() && QuestID.GetCurrentStageID() == StageValue || QuestID.GetCurrentStageID() == StateValueTwo Game.DisablePlayerControls(abMovement = false, abFighting = true, abCamSwitch = true, abLooking = false, abSneaking = true,abMenu = true, abActivate = true, abJournalTabs = true, aiDisablePOVType = 0) endif EndEvent Quest Property QuestID Auto Int Property StageValue Auto Int Property StateValueTwo Auto