Alarm
Triggers a visual alarm: the Stealth icon in the system tray starts flashing red. The flashing continues until the user clicks on the Stealth tray icon, which resets the alarm.
Useful for notifying the user about critical in-game events (death, attack, low health, etc.) when they are away from the screen.
Вызывает визуальную тревогу: иконка Stealth в системном трее начинает мигать красным. Мигание продолжается до тех пор, пока пользователь не нажмёт на иконку Stealth в трее, что сбросит тревогу.
Полезно для уведомления пользователя о критических игровых событиях (смерть, атака, мало здоровья и т. д.), когда он не за экраном.
procedure Alarm;
def Alarm() -> None: ...
begin
if Dead then
begin
Alarm;
Disconnect;
end;
end.
if Dead():
Alarm()
Disconnect()