Admer456 / halflife-adm-legacy

Advanced Development Mod - technical overhaul for Half-Life
Other
17 stars 5 forks source link

ambient_generic/audio_sound_2d playing through specified entity #22

Open divinitycove opened 3 years ago

divinitycove commented 3 years ago

A property in both ambient_generic and audio_sound_2d (or whatever is going to remain in ADM down the road) that allows it to target a named entity to emit sound from instead of its own location. Doesn't need to be fancy, could just work on an info_null entity or something similar, along with supporting multiple sound entities to play through the same dummy entity to simplify audio-heavy scripting scenes where sound comes from the same location.