EffectSound - plays soundset on this object and returns state of the sound (true - played, false - not played)
См. определение в файле Object.c строка 1247
1248 {
1250 {
1251 if ( sound )
1252 {
1253 if ( loop )
1254 {
1255 return true;
1256 }
1257 else
1258 {
1260 }
1261 }
1262
1263 sound = SEffectManager.PlaySoundOnObject( sound_set, this, fade_in, fade_out, loop );
1264 sound.SetAutodestroy( true );
1265
1266 return true;
1267 }
1268
1269 return false;
1270 }
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().