enderalse/source/scripts/_00e_removesilenceandcombatsoundtrack.psc

16 lines
371 B
Plaintext
Raw Normal View History

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