Enable object after animation has finished

Post » Thu Mar 28, 2013 12:10 am

I have a secret sliding door, animated like you see in tunnels/caves and I want the player to be able after the door has been opened to be presented with an option to travel to another cell, going exterior to interior. Effectively its a door behind a door but I can't have 2 doors so close. Player has to get to position x in order to open the first door and cannot go any farther. Positioning problems are the doors are too close and the player activates the 2nd door and is teleported without the first door's animation playing. Other scenario is player can open the first door but the 2nd is out of reach. So I want to disable the 2nd door and enable when the the first door's animation has finished. I've seen a few scripts here relating to animation some time ago. I checked wiki for something like OnAnimEnd or similar but no luck. Help with this much appreciated.
User avatar
Josh Lozier
 
Posts: 3490
Joined: Tue Nov 27, 2007 5:20 pm

Return to V - Skyrim