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

◆ GetEmptyingEndSoundset()

string GetEmptyingEndSoundset ( )
private

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

319 {
320 vector pos = GetPosition();
321 string surfaceType = g_Game.GetPlayer().GetSurfaceType();
322 string soundSet = "";
323
324 bool diggable = g_Game.IsSurfaceDigable(surfaceType);
325
326 if (!diggable)
327 {
328 soundSet = GetEmptyingEndSoundsetHard();
329 }
330 else if (diggable)
331 {
332 soundSet = GetEmptyingEndSoundsetSoft();
333 }
334 else if (g_Game.SurfaceIsPond(pos[0], pos[2]) || g_Game.SurfaceIsSea(pos[0], pos[2]))
335 {
336 soundSet = GetEmptyingEndSoundsetWater();
337 }
338
339 return soundSet;
340 }
string GetEmptyingEndSoundsetSoft()
string GetEmptyingEndSoundsetHard()
string GetEmptyingEndSoundsetWater()
DayZGame g_Game
Определения DayZGame.c:4074
Определения EnConvert.c:119
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки g_Game, Bottle_Base::GetEmptyingEndSoundsetHard(), Bottle_Base::GetEmptyingEndSoundsetSoft(), Bottle_Base::GetEmptyingEndSoundsetWater() и GetPosition().

Используется в StopEmptyingLoopSound().