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

◆ GetEmptyingLoopSoundset()

string GetEmptyingLoopSoundset ( )
private

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

295 {
296 vector pos = GetPosition();
297 string surfaceType = g_Game.GetPlayer().GetSurfaceType();
298 string soundSet = "";
299
300 bool diggable = g_Game.IsSurfaceDigable(surfaceType);
301
302 if (!diggable)
303 {
304 soundSet = GetEmptyingLoopSoundsetHard();
305 }
306 else if (diggable)
307 {
308 soundSet = GetEmptyingLoopSoundsetSoft();
309 }
310 else if (g_Game.SurfaceIsPond(pos[0], pos[2]) || g_Game.SurfaceIsSea(pos[0], pos[2]))
311 {
312 soundSet = GetEmptyingLoopSoundsetWater();
313 }
314
315 return soundSet;
316 }
string GetEmptyingLoopSoundsetHard()
string GetEmptyingLoopSoundsetWater()
string GetEmptyingLoopSoundsetSoft()
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::GetEmptyingLoopSoundsetHard(), Bottle_Base::GetEmptyingLoopSoundsetSoft(), Bottle_Base::GetEmptyingLoopSoundsetWater() и GetPosition().

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