27 lines
638 B
Plaintext
27 lines
638 B
Plaintext
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 |