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

◆ PlaySound()

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

Plays the given sound once 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 строка 1244

1245 {
1246 return GetGame().CreateSoundOnObject(this, sound_name, range, false, create_local);
1247 }
proto native SoundOnVehicle CreateSoundOnObject(Object source, string sound_name, float distance, bool looped, bool create_local=false)
proto native CGame GetGame()

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