Raised This Month: $ Target: $400
 0% 

Change playing sound emit location


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zeroibis
Veteran Member
Join Date: Jun 2007
Old 04-06-2013 , 14:49   Change playing sound emit location
Reply With Quote #1

Lets say I start to send a sound using EmitSoundToAll(SOUND, client); but while the sound is still playing I now want to change it to emit from client2 for example. Is this possible and what would I need to do to change this?
__________________
zeroibis is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 04-06-2013 , 16:50   Re: Change playing sound emit location
Reply With Quote #2

Is there perhaps a way to create an invisible ent and parent it to a player and move that around when the player dies?
__________________
zeroibis is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 04-06-2013 , 17:26   Re: Change playing sound emit location
Reply With Quote #3

You can spawn an ambient_generic, and move that around pr parent it/teleport it, and send it inputs.
https://developer.valvesoftware.com/...mbient_generic
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode