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.
29 lines
596 B
29 lines
596 B
Scriptname _00E_FS_MQ18c_DisableRainSC extends ObjectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
if akActionRef == Game.GetPlayer() && FS_MQ18c.IsRunning()
|
|
|
|
AudioCategoryAMB.SetVolume(0.65)
|
|
FS_MQ18c_RainParentREF.Enable()
|
|
|
|
endif
|
|
|
|
EndEvent
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
if akActionRef == Game.GetPlayer() && FS_MQ18c.IsRunning()
|
|
|
|
AudioCategoryAMB.SetVolume(1.0)
|
|
FS_MQ18c_RainParentREF.Disable()
|
|
|
|
endif
|
|
|
|
EndEvent
|
|
|
|
Quest Property FS_MQ18c Auto
|
|
|
|
ObjectReference Property FS_MQ18c_RainParentREF Auto
|
|
|
|
SoundCategory Property AudioCategoryAMB Auto |