The Dink Network

sound problem

December 23rd 2003, 02:48 PM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
Uhm, hi
I have a problem. Yes. In my dmod, I have shrubs you can chop with your sword, and then a "chop sound" plays. But, you also hear the sword hitting sound, so you don't hear the chop sound anymore. Is there a way to NOT let the "hit" sound play when I hit that certain sprite?

Thanks in advance and stuff
December 23rd 2003, 05:39 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Try sp_nohit(&current_sprite,1); because I think nohit actually makes Dink hit it (or call the hit procedure), but it doesn't play the sound.
December 24th 2003, 02:29 AM
spike.gif
Yes, Dink still does hit the target but doesn't deal any damage or play the hit sound.
December 24th 2003, 09:04 AM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
Thanks