TyrisBel Posted February 22, 2012 Share Posted February 22, 2012 I want to make a simple door timer, so that player opens, walks through, and behind him door closes by itself. Nothing sinister or trap like, just breaking lines of sight. anyone help? Link to comment Share on other sites More sharing options...
TyrisBel Posted February 27, 2012 Author Share Posted February 27, 2012 bump Link to comment Share on other sites More sharing options...
Axisdeath Posted February 27, 2012 Share Posted February 27, 2012 seems like you want to learn a lot. Big quest you planning here? Link to comment Share on other sites More sharing options...
TyrisBel Posted February 27, 2012 Author Share Posted February 27, 2012 Lol, one quest, what I thought was a simple premise, and I just hit roadblock after roadblock, I can see I dont have the brain for this scripting/questing aspect Link to comment Share on other sites More sharing options...
GisleAune Posted February 27, 2012 Share Posted February 27, 2012 (edited) How I do scripting is think of what I want, and then wander the references hoping there's an event and function for doing it. Those below might be what you need for your door timer. OnActivate() event is when you click the door, that's where you want to start it. Register for a single update (link 4), on the OnUpdate(), ask for a getopenstate() and activate or not accordingly. For the openinghttp://www.creationkit.com/Activate_-_ObjectReferencehttp://www.creationkit.com/GetOpenState_-_ObjectReference For timing ithttp://www.creationkit.com/OnUpdate_-_Formhttp://www.creationkit.com/RegisterForSingleUpdate_-_Form Edited February 27, 2012 by GisleAune Link to comment Share on other sites More sharing options...
TyrisBel Posted February 27, 2012 Author Share Posted February 27, 2012 Can't thank you enough, these look like exactly what I need :) Link to comment Share on other sites More sharing options...
Recommended Posts