i've got a vocal sound effect, that i want to play on mouse over hotspot but it plays it more than once, so it sounds like an echo and plays it again as the mouse comes off the hotspot, how can i stop this?
thanks
How did you put this to work? Did you script it? If you did, then seeing the script might help solving the problem ;)
Globalscript:
int onhotspot = 0;
repeatedly_execute:
if (GetLocationType(mouse.x,mouse.y)==WHATEVERITISFORHOTSPOTS && onhotspot == 0) {
onhotspot = 1;
PlaySound(X);
}
else if (GetLocationType(mouse.x,mouse.y)!=WHATEVERITISFORHOTSPOTS && onhotspot == 1) onhotspot = 0;
maybe this'd work?
thanks guys, sorted it ;D