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