Bugfix | 3afcb79 | 2022-01-21 22:32:42 +0100 | [diff] [blame] | 1 | P_ALERT |
| 2 | ======= |
| 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | |
| 7 | P_ALERT "visualbell" |
| 8 | |
| 9 | DEFINIERT IN |
| 10 | ------------ |
| 11 | |
| 12 | /sys/player/comm.h |
| 13 | |
| 14 | BESCHREIBUNG |
| 15 | ------------ |
| 16 | |
| 17 | Enthaelt ein Bitfeld, in welchem konfiguriert ist, bei welchen Arten von |
| 18 | Ereignissen ein Spieler welche Art von Benachrichtigung erhalten moechte. |
| 19 | |
| 20 | Das Verhalten kann vom Spieler durch unterschiedliche Befehle beeinflusst |
| 21 | werden, aktuell sind dies ton und klingelton. |
| 22 | |
| 23 | Aktuell gibt es folgende Moeglichkeiten: |
Zesstra | 4b56c2f | 2025-07-09 22:10:32 +0200 | [diff] [blame^] | 24 | |
| 25 | AL_NO_SOUND |
Bugfix | 3afcb79 | 2022-01-21 22:32:42 +0100 | [diff] [blame] | 26 | Keine Pieptoene empfangen |
Zesstra | 4b56c2f | 2025-07-09 22:10:32 +0200 | [diff] [blame^] | 27 | MB_SAY |
Bugfix | 60f5bc6 | 2022-01-21 11:09:56 +0100 | [diff] [blame] | 28 | Alert bei Messages mit MA_SAY |
Zesstra | 4b56c2f | 2025-07-09 22:10:32 +0200 | [diff] [blame^] | 29 | MB_TELL |
Bugfix | 60f5bc6 | 2022-01-21 11:09:56 +0100 | [diff] [blame] | 30 | Alert bei Messages mit MA_TELL (tm) |
Zesstra | 4b56c2f | 2025-07-09 22:10:32 +0200 | [diff] [blame^] | 31 | MB_CHANNEL |
Zesstra | 1cc6cf3 | 2022-02-09 11:49:31 +0100 | [diff] [blame] | 32 | Alert bei Ebenennachrichten |
Zesstra | 4b56c2f | 2025-07-09 22:10:32 +0200 | [diff] [blame^] | 33 | MB_SHOUT |
Zesstra | 1cc6cf3 | 2022-02-09 11:49:31 +0100 | [diff] [blame] | 34 | Alert bei Rufen |
Zesstra | 4b56c2f | 2025-07-09 22:10:32 +0200 | [diff] [blame^] | 35 | MB_MISC |
Zesstra | 1cc6cf3 | 2022-02-09 11:49:31 +0100 | [diff] [blame] | 36 | Alert bei sonstigen Aktionen (ohne eigenen Filter) |
Bugfix | 3afcb79 | 2022-01-21 22:32:42 +0100 | [diff] [blame] | 37 | |
| 38 | BEMERKUNGEN |
| 39 | ----------- |
| 40 | |
| 41 | Bitte verwendet ReceiveMsg() mit MSG_ALERT, anstatt P_ALERT selbst |
| 42 | auszuwerten. |
| 43 | |
Bugfix | 895dc45 | 2025-06-30 17:35:45 +0200 | [diff] [blame] | 44 | Das historische Standardverhalten war 0, hierbei wurden alle Toene empfangen. |
| 45 | Der Klingelton fuer Kommunikation wurde nur ausgegeben, wenn |
Zesstra | 4b56c2f | 2025-07-09 22:10:32 +0200 | [diff] [blame^] | 46 | :doc:`P_MESSAGE_BEEP` zusaetzlich > 0 war. Dieses Verhalten entspricht am |
Bugfix | 895dc45 | 2025-06-30 17:35:45 +0200 | [diff] [blame] | 47 | ehesten P_ALERT == MB_MISC. |
Bugfix | 3afcb79 | 2022-01-21 22:32:42 +0100 | [diff] [blame] | 48 | |
| 49 | SIEHE AUCH |
| 50 | ---------- |
| 51 | |
Zesstra | 4b56c2f | 2025-07-09 22:10:32 +0200 | [diff] [blame^] | 52 | :doc:`../lfun/ReceiveMsg`, :doc:`P_MESSAGE_BEEP` |
Bugfix | 3afcb79 | 2022-01-21 22:32:42 +0100 | [diff] [blame] | 53 | |
Bugfix | 895dc45 | 2025-06-30 17:35:45 +0200 | [diff] [blame] | 54 | Letzte Aenderung: 30.06.2025, Bugfix |