Support Board
Date/Time: Sat, 10 May 2025 20:01:23 +0000
Post From: AlertSoundNumber is shifted by one
[2016-01-13 18:45:21] |
T29_Dev1 - Posts: 22 |
Hi, I guess you shifted indexes when you added "No Alert Sound" in the combobox with list of sounds. For playing a correct sound I have to write: sc.SetAlert(alert_id.GetAlertSoundNumber() - 1); v. 1354 update: in the doc - "0 means no alert sound" in fact it returns 1 for "no alert sound" and 0 for "Alert Disabled" Date Time Of Last Edit: 2016-01-13 18:50:23
|