WondererSoLo Posted April 2, 2020 Share Posted April 2, 2020 (edited) It looks like it has the open and close state.Let me ask this, the script should be applied to the door and not the ID card reader, right? Edited April 2, 2020 by WondererSoLo Link to comment Share on other sites More sharing options...
Zorkaz Posted April 2, 2020 Share Posted April 2, 2020 Yes. However this is not a normal door I guess but an activator with different states.I'll look up tomorrow how the proper command is called. Or you can try to find it out in the creation kit wiki. It has to do with different animation states and is part of the "Object Reference Script"... Nothing outlandish but I really can't remember it. Link to comment Share on other sites More sharing options...
WondererSoLo Posted April 2, 2020 Share Posted April 2, 2020 Thanks for the creation kit wiki heads up! Looks like there is tons of information there! There is another object that is an activator (the exploding version of this door), however, the one I'm using is labeled as a normal door. Link to comment Share on other sites More sharing options...
pepperman35 Posted April 2, 2020 Share Posted April 2, 2020 unlock and open myDoor.unlock()myDoor.setopen(true) close and lock myDoor.setopen(false)myDoor.lock() Link to comment Share on other sites More sharing options...
MissingMeshTV Posted April 2, 2020 Share Posted April 2, 2020 (edited) Since you're working with an activator with animation states (and not a "normal" door), you might look at using PlayAnimation or PlayGamebryoAnimation in a script attached to a trigger box to control the animation state. I've used PlayGamebryoAnimation with success in some basic testing (ages ago) when PlayAnimation didn't seem to work with any of the animation states I defined. The default toggle button scripts might also give you some ideas as well. There's likely a vanilla game example close to what you want to do that you could reverse engineer, but I'm drawing a blank on one right now. Edited April 2, 2020 by RedRocketTV Link to comment Share on other sites More sharing options...
Zorkaz Posted April 3, 2020 Share Posted April 3, 2020 I'm pretty sure that if you take a look at the Railroad Puzzle Script that there is the solution. As RRTv said PlayGamebryoAnimation was exactly I was looking for Link to comment Share on other sites More sharing options...
Recommended Posts