Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
deafnesscomplete.c
Go to the documentation of this file.
1class DeafnessCompleteSymptom : SymptomBase
2{
3 override void OnInit()
4 {
5 m_SymptomType = SymptomTypes.SECONDARY;
6 m_Priority = 0;
7 m_ID = SymptomIDs.SYMPTOM_DEAFNESS_COMPLETE;
8 m_IsPersistent = false;
9 m_MaxCount = 1;
10 m_SyncToClient = true;
11
12 m_DestroyOnAnimFinish = true;
13 }
14
15 override void OnGetActivatedClient(PlayerBase player)
16 {
17 //m_Player.SetMasterAttenuation("DeafnessCompleteAttenuation");
18 m_Player.SetMasterAttenuation("FlashbangAttenuation");
19 }
20
22 override void OnGetDeactivatedClient(PlayerBase player)
23 {
24 m_Player.SetMasterAttenuation("");
25 }
26}
void OnInit()
this is just for the Symptom parameters set-up and is called even if the Symptom doesn't execute,...
SymptomTypes