This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

sound on Win/PC and Android/Tablet
#15
(17.12.2020, 11:46)admin Wrote: You can override the built-in alert function:
Code:
  // Start creating listeners
  for (var i in AudioTable) {
    CreateListeners(AudioTable[i].address,AudioTable[i].url);
  }
 
  var alertfn = alert;
  alert = function(text) {
    Play_Audio("/user/audio1.mp3");
    alertfn(text);
  };
});

I can get no sound when an alert occours.... Undecided   anyway I think would be more useful  to use with tagged objects... is it possible?
Reply


Messages In This Thread
RE: sound on Win/PC and Android/Tablet - by gdimaria - 19.12.2020, 11:17

Forum Jump: