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

◆ OnFireModeChange()

void Weapon::OnFireModeChange ( int fireMode)
inlineprotected

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

1049 {
1050 if ( !g_Game.IsHeadlessOrDedicatedServer() )
1051 {
1052 EffectSound eff;
1053
1054 if ( fireMode == 0 )
1055 eff = SEffectManager.PlaySound("Fire_Mode_Switch_Marked_Click_SoundSet", GetPosition());
1056 else
1057 eff = SEffectManager.PlaySound("Fire_Mode_Switch_Simple_Click_SoundSet", GetPosition());
1058
1059 eff.SetAutodestroy(true);
1060 }
1061
1063 }
DayZGame g_Game
Определения DayZGame.c:4074
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Определения EffectSound.c:607
void ResetBurstCount()
Определения Weapon_Base.c:2191
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

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