bethari Posted June 28, 2017 Author Share Posted June 28, 2017 (edited) I don't think you can do this method with a script attached to something. Because it has to be the correct door before the player activates it. You would have to put the script on something the player has to activate to before going to the door. Do it in a quest stage. So, would the script have to extend something else, like a quest? What should I set the event trigger to? How would I write this script? (Sorry for all the questions. As you can probably tell, I know nothing about scripting.) Edited June 28, 2017 by bethari Link to comment Share on other sites More sharing options...
foamyesque Posted June 28, 2017 Share Posted June 28, 2017 I don't think you can do this method with a script attached to something. Because it has to be the correct door before the player activates it. You would have to put the script on something the player has to activate to before going to the door. Do it in a quest stage. Nah, use the already placed XMarker. @bethari: I'm surprised that you say that script compiled, since it's missing a closing endif. Here's what I use; assuming that XMarker controls the doors, all you should need to do is add it to your XMarker in the reference editor and set up your properties: Scriptname yourscriptname extends ObjectReference Quest Property enablingQuest Auto Event OnCellAttach() if enablingQuest.IsCompleted() if IsDisabled() Enable() endif elseif IsEnabled() Disable() endif EndEvent It'll be enabled if the quest is done, and disabled otherwise, updating everything to which it is an enable parent. Link to comment Share on other sites More sharing options...
agerweb Posted June 28, 2017 Share Posted June 28, 2017 Ah yes, test when player enterd cell didnt think of that. Very handy. Link to comment Share on other sites More sharing options...
bethari Posted June 28, 2017 Author Share Posted June 28, 2017 Thank the divines, it works now! Thank you guys so much for your help :D Link to comment Share on other sites More sharing options...
Recommended Posts