EffectSound - plays soundset on this object and returns state of the sound (true - played, false - not played)
См. определение в файле Object.c строка 1243
1244 {
1246 {
1247 if ( sound )
1248 {
1249 if ( loop )
1250 {
1251 return true;
1252 }
1253 else
1254 {
1256 }
1257 }
1258
1259 sound = SEffectManager.PlaySoundOnObject( sound_set, this, fade_in, fade_out, loop );
1260 sound.SetAutodestroy( true );
1261
1262 return true;
1263 }
1264
1265 return false;
1266 }
bool StopSoundSet(out EffectSound sound)
EffectSound - stops soundset and returns state of the sound (true - stopped, false - not playing)
Перекрестные ссылки g_Game, SEffectManager::PlaySoundOnObject(), EffectSound::SetAutodestroy() и StopSoundSet().
Используется в PlaySoundSetLoop().