On Mon, Feb 16, 2009 at 12:00 PM, Yorg Kuijs <[email protected]> wrote:

> 1. Does anybody know if it's possible to have a sound be emitted that
> only the player it was meant for can hear? As far as I know all sounds
> are emitted into the world. I might be making a hitbleep system similar
> to quake, wet, et:qw and dystopia, roughly I think it would look like
> this in the ontakedamage class:
> pAttacker->PlayAttackerHearableSoundOnly( "soundname" );
> or
> pInflictor->PlayInflictorHearableSoundOnly( "soundname" );
>
> well the function is bogus ofcourse since it doesn't exist. So does
> anybody know?
>

You can emit the sound on the client, or you can call the sound with a
single recipient filter instead of a pas filter.

-- 
Jorge "Vino" Rodriguez
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to