Jump to content

Does anyone know how to put a timer on a door?


TyrisBel

Recommended Posts

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 opening

http://www.creationkit.com/Activate_-_ObjectReference

http://www.creationkit.com/GetOpenState_-_ObjectReference

 

For timing it

http://www.creationkit.com/OnUpdate_-_Form

http://www.creationkit.com/RegisterForSingleUpdate_-_Form

Edited by GisleAune
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...