enderalse/scripts/source/_00e_cqc04_addsilencesc.psc

27 lines
704 B
Plaintext
Raw Normal View History

Scriptname _00E_CQC04_AddSilenceSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If (CQC04.GetStage() < 15) && (akActionRef == Game.GetPlayer()) && CQC04.IsRunning()
Levelsystem.SetAllowIdleChatter(False)
_00E_SilenceTransitionHighPriority.Add()
EndIf
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
If !CQC04.IsCompleted() && (akActionRef == Game.GetPlayer()) && CQC04.IsRunning()
Levelsystem.SetAllowIdleChatter(True)
_00E_SilenceTransitionHighPriority.Remove()
EndIf
EndEvent
Actor Property PlayerREF Auto
Quest Property CQC04 Auto
MusicType Property _00E_SilenceTransitionHighPriority Auto
_00E_QuestFunctions Property Levelsystem Auto