• Parenting Sound/Ambient_Generic to Moving NPC_Helicopter
    3 replies, posted
So I've found myself in a situation... I have a helicopter fly over (via path_tracks, it's friendly to the player) and I need it to play a sound (an announcement). Seeing as ambient_generic is not parentable, this creates issues. I've tried using func_tracktrain and having it start moving as the helicopter passes one of the path_tracks, but it doesn't really work all that well. Any ideas?
Please don't create a thread for every small question. Use the questions thread. Use the "SourceEntityName <targetname>" of your ambient generic to make the sound play from the origin of your helicopter entity.
The ambient_generic entity lets you provide a SourceEntityName in the properties. Enter the name of the helicopter there and the sound should originate from it. Also, in the future, please use the [URL="https://facepunch.com/showthread.php?t=1446367"]Mapping Question Megathread[/URL] for quick questions :smile: [editline]edit[/editline] Aw, too late.
Ah shit sorry, I know about the question megathread but I haven't posted in the mapping section for a while. SourceEntityName does not work for me, it plays mapwide (even with the play everywhere flag disabled)
Sorry, you need to Log In to post a reply to this thread.