19.12.2020, 11:17
(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.... anyway I think would be more useful to use with tagged objects... is it possible?