Jump to content

[LE] Collision Door Issue


Recommended Posts

so this is weird.... I am using two of the double-door gates from the whirlwind sprint test at High Hrothgar and I have them set as opened by default and unlocked. I have a trigger box with the following script on it which closes the doors then locks them. The result is that the right half of the gate has collision but the left half doesn't. This seems to apply randomly to both gates or sometimes just one (always the first but the second varies) and it is ALWAYS the left side that seems to leave it's collision in the open state where you can click on it and collide with its invisible former location. Any ideas?

 

 

Scriptname DBM_Excavation01TrapScript extends ObjectReference  

ObjectReference Property Door1 Auto
ObjectReference Property Door2 Auto
Quest Property DBM_Excavation01 Auto

Auto State ReadyTrigger

Event OnTriggerEnter(ObjectReference akActionRef)
    if akActionRef == Game.GetPlayer()
        Debug.Notification("tigger entered")
        RegisterForSingleUpdate(0.2)
        GoToState("TriggerRunning")
    Endif
EndEvent

EndState

State TriggerRunning

Event OnUpdate()
        Door1.Activate(Self)
        Door2.Activate(Self)
        DBM_Excavation01.SetStage(142)
        Door1.Lock()
        Door2.Lock()
        Door1.SetLockLevel(255)
        Door2.SetLockLevel(255)
        Utility.wait(15)
        DBM_Excavation01.SetStage(143)
        Self.Disable()
EndEvent

EndState
Link to comment
Share on other sites

  • Recently Browsing   0 members

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