enderalse/source/scripts/_00e_gypsyluteplayeraliasscript.psc

21 lines
597 B
Plaintext

Scriptname _00E_GypsyLutePlayerAliasScript extends ReferenceAlias
Package Property GypsyMinstrels_PerformMarketplace Auto
MusicType Property ArkMarketGypsyPerformanceSilence Auto
Event OnLoad()
(GetOwningQuest() as _00E_GypsyMinstrelsControlScript).GroupTravelFailsafe()
EndEvent
Event OnPackageStart(Package akNewPackage)
If akNewPackage == GypsyMinstrels_PerformMarketplace
ArkMarketGypsyPerformanceSilence.Add()
EndIf
EndEvent
Event OnPackageChange(Package akOldPackage)
If akOldPackage == GypsyMinstrels_PerformMarketplace
ArkMarketGypsyPerformanceSilence.Remove()
EndIf
EndEvent