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

◆ GetEmptyingLoopSoundset()

string GetEmptyingLoopSoundset ( )
private

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

293 {
294 vector pos = GetPosition();
295 string surfaceType = g_Game.GetPlayer().GetSurfaceType();
296 string soundSet = "";
297
298 bool diggable = g_Game.IsSurfaceDigable(surfaceType);
299
300 if (!diggable)
301 {
302 soundSet = GetEmptyingLoopSoundsetHard();
303 }
304 else if (diggable)
305 {
306 soundSet = GetEmptyingLoopSoundsetSoft();
307 }
308 else if (g_Game.SurfaceIsPond(pos[0], pos[2]) || g_Game.SurfaceIsSea(pos[0], pos[2]))
309 {
310 soundSet = GetEmptyingLoopSoundsetWater();
311 }
312
313 return soundSet;
314 }
string GetEmptyingLoopSoundsetHard()
string GetEmptyingLoopSoundsetWater()
string GetEmptyingLoopSoundsetSoft()
DayZGame g_Game
Определения DayZGame.c:3942
Определения EnConvert.c:119
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки g_Game, Bottle_Base::GetEmptyingLoopSoundsetHard(), Bottle_Base::GetEmptyingLoopSoundsetSoft(), Bottle_Base::GetEmptyingLoopSoundsetWater() и GetPosition().

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