EffectSound - plays soundset on this object and returns state of the sound (true - played, false - not played)
См. определение в файле Object.c строка 1256
1257 {
1259 {
1260 if ( sound )
1261 {
1262 if ( loop )
1263 {
1264 return true;
1265 }
1266 else
1267 {
1269 }
1270 }
1271
1272 sound = SEffectManager.PlaySoundOnObject( sound_set, this, fade_in, fade_out, loop );
1273 sound.SetAutodestroy( true );
1274
1275 return true;
1276 }
1277
1278 return false;
1279 }
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().