Enderal SE
https://mod.pub/enderal-se/38-enderal-se
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.
16 lines
380 B
16 lines
380 B
ScriptName defaultSealedDoor extends ObjectReference
|
|
{Script for 'sealing' a door with a visual effect until the seal is removed by script.}
|
|
|
|
EffectShader property DoorVFX Auto
|
|
|
|
Event OnLoad()
|
|
Self.BlockActivation(True)
|
|
; Debug.Trace("Sealed!")
|
|
Utility.Wait(0.5)
|
|
DoorVFX.Play(Self)
|
|
EndEvent
|
|
|
|
Function RemoveSeal()
|
|
Self.BlockActivation(False)
|
|
DoorVFX.Stop(Self)
|
|
EndFunction |