Code: Select all
virtual void SoundStarted(SoundEvent event)
Where SoundEvent is something like
Code: Select all
struct SoundEvent
{
Actor source;
Sound soundId;
}
Rationale:
1. Allows creating modifications that display the directional sound, useful for people with hearing issues, and/or playing without speakers/headphones.
2. Allows creating custom behavior, like monster reaction to certain sounds.
Creating this as a feature suggestion because I'm not sure how to implement this.