Raised This Month: $ Target: $400
 0% 

problem with emit_sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 09-29-2004 , 15:46   problem with emit_sound
Reply With Quote #1

i have a wav which has a buildin loop
now when i call emit_sound(entid, CHAN_STREAM, "mysound.wav", 1.0, 1.2, 0, PITCH_NORM) it starts the sound and it loops, but after some time it just stop
it happens mostly when there is noone near the ent which is emitting the looping wav
but it also happens while standing next to it, instead of replay the wav it just stopped as if the wav had no loop in it
changing the the 6th argument ( the "0" ) to 1 or 2 did not helped

PS: changing the channel does not wok neither and as i am changing position of the ent it should be played and new position, achiving this by reusing emit_sound. now if channel is not chan_stream there will be 2 or more location where the wav is played
__________________
alias White Panther
karlos 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 17:11.


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