enderalse/source/scripts/_00e_gypsyluteplayeraliasscript.psc

21 lines
597 B
Plaintext
Raw Normal View History

2021-10-05 22:59:59 +00:00
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