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

◆ GetEmptyingLoopSoundset()

string GetEmptyingLoopSoundset ( )
private

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

293 {
294 vector pos = GetPosition();
295 string surfaceType = GetGame().GetPlayer().GetSurfaceType();
296 string soundSet = "";
297
298 bool diggable = GetGame().IsSurfaceDigable(surfaceType);
299
300 if (!diggable)
301 {
302 soundSet = GetEmptyingLoopSoundsetHard();
303 }
304 else if (diggable)
305 {
306 soundSet = GetEmptyingLoopSoundsetSoft();
307 }
308 else if (GetGame().SurfaceIsPond(pos[0], pos[2]) || GetGame().SurfaceIsSea(pos[0], pos[2]))
309 {
310 soundSet = GetEmptyingLoopSoundsetWater();
311 }
312
313 return soundSet;
314 }
string GetEmptyingLoopSoundsetHard()
string GetEmptyingLoopSoundsetWater()
string GetEmptyingLoopSoundsetSoft()
bool IsSurfaceDigable(string surface)
Checks if the surface is digable.
Определения Game.c:1156
proto native DayZPlayer GetPlayer()
string GetSurfaceType(SurfaceAnimationBone limbType)
Определения DayZPlayerImplement.c:3137
Определения EnConvert.c:106
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки Bottle_Base::GetEmptyingLoopSoundsetHard(), Bottle_Base::GetEmptyingLoopSoundsetSoft(), Bottle_Base::GetEmptyingLoopSoundsetWater(), GetGame(), CGame::GetPlayer(), GetPosition, DayZPlayer::GetSurfaceType() и CGame::IsSurfaceDigable().

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