DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnFireModeChange()

void Weapon::OnFireModeChange ( int fireMode)
inlineprotected

См. определение в файле Weapon_Base.c строка 1056

1057 {
1058 if ( !g_Game.IsDedicatedServer() )
1059 {
1060 EffectSound eff;
1061
1062 if ( fireMode == 0 )
1063 eff = SEffectManager.PlaySound("Fire_Mode_Switch_Marked_Click_SoundSet", GetPosition());
1064 else
1065 eff = SEffectManager.PlaySound("Fire_Mode_Switch_Simple_Click_SoundSet", GetPosition());
1066
1067 eff.SetAutodestroy(true);
1068 }
1069
1071 }
DayZGame g_Game
Определения DayZGame.c:3942
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Определения EffectSound.c:603
void ResetBurstCount()
Определения Weapon_Base.c:2196
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки g_Game, GetPosition(), SEffectManager::PlaySound(), ResetBurstCount() и EffectSound::SetAutodestroy().