enderalse/source/scripts/_00e_removesilenceandcombatsoundtrack.psc

16 lines
365 B
Plaintext

Scriptname _00E_RemoveSilenceAndCombatSoundtrack extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF && !bDone
bDone = True
_00E_PlayerFunctions.GetSoundControl().RemoveSilence()
_00E_PlayerFunctions.GetSoundControl().RemoveCombatSoundtracks()
EndIf
EndEvent
bool bDone
Actor Property PlayerREF Auto