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

◆ PlaySoundLoop()

SoundOnVehicle IEntity::PlaySoundLoop ( string sound_name,
float range,
bool create_local = true )
inlineprivate

Plays the given sound in loop on this object's instance. Range is in meters. Created sound is only local, unless create_local is set to false. Returns the sound itself.

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

1251 {
1252 return GetGame().CreateSoundOnObject(this, sound_name, range, true, create_local);
1253 }
proto native SoundOnVehicle CreateSoundOnObject(Object source, string sound_name, float distance, bool looped, bool create_local=false)
proto native CGame GetGame()

Перекрестные ссылки CGame::CreateSoundOnObject() и GetGame().