Raised This Month: $ Target: $400
 0% 

Emitting a sound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 02-07-2013 , 04:53   Emitting a sound
Reply With Quote #1

I haven't coded for a long time now, so I am getting rusty as hell.

I want to emit a sound from a player, and I want other players to hear it, like it decays over the distance between the player who emitted the sound and the one hearing it, just like the guy actually says the sound.

Since the funcwiki got lost there isn't much to learn on there, it only shows the syntax.

I am guessing I need to use the channel voice. I am using this:

PHP Code:
emit_sound(idCHAN_VOICEgDukeStart1.0ATTN_NORM0PITCH_NORM
I can't test it for quite some time, so it would be nice to know.
__________________
No idea what to write here...

Last edited by Jelle; 02-07-2013 at 04:54.
Jelle is offline
Send a message via MSN to Jelle
 


Thread Tools
Display Modes

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 11:12.


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