public void KillVocals()
{
for (int i = 0; i < Notes.Count; i++)
{
if (NoteActive(i))
{
Notes[i].instance.Stop();
Notes[i].instance.Dispose();
}
}
}
/// <summary> /// Kill an actor's vocals, given a constant ID. /// </summary> public static HITResult SeqGroupKill(HITThread thread) { var src = thread.ReadByte(); if (src == (byte)HITPerson.Instance) { thread.KillVocals(); } else { //TODO: Implement system for keeping track of which object created a thread // and kill that thread's sounds (src == ObjectID). } return(HITResult.CONTINUE); }