4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
638 B

Scriptname _00E_OldSherathDestroyWall extends ObjectReference
ObjectReference Property BrittleWall Auto
ObjectReference Property BrittleWall02 Auto
ObjectReference Property ThoughtsTrigger Auto
int Destroyed
Event OnActivate (ObjectReference akActionRef)
if Destroyed == 0
;Debug.Notification("Boom!")
Destroyed = 1
ThoughtsTrigger.Disable()
BrittleWall.PlayAnimation("openStart")
BrittleWall02.PlayAnimation("openStart")
Utility.Wait(3)
BrittleWall.Disable()
BrittleWall02.Disable()
; To not keep the references persistent...
ThoughtsTrigger = None
BrittleWall = None
BrittleWall02 = None
endif
EndEvent