enderalse/source/scripts/_00e_bardactorscript.psc

38 lines
693 B
Plaintext

Scriptname _00E_BardActorScript extends Actor
Event OnPackageStart(Package akNewPackage)
if (aknewPackage == _00E_UseBardMarker)
Self.BlockActivation(True)
Self.SetGhost(True)
EndIf
EndEvent
Event OnPackageEnd(Package akOldPackage)
if akOldPackage == _00E_UseBardMarker
Self.BlockActivation(False)
Self.SetGhost(False)
StopInstrumentalSong()
EndIf
EndEvent
Function StartInstrumentalSong()
Debug.MessageBox("FUCK!")
Utility.Wait(1.5)
Self.GetLinkedRef(BardSongMarker).Enable()
EndFunction
Function StopInstrumentalSong()
Self.GetLinkedRef(BardSongMarker).Disable()
EndFunction
Package Property _00E_UseBardMarker Auto
Keyword Property BardSongMarker Auto