world_setup:game_features:notifications
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| world_setup:game_features:notifications [2020/03/13 14:03] – created mit | world_setup:game_features:notifications [2025/05/28 18:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| The notification system refers to the set of UI components that show a list of temporary messages on the left side of the screen. If multiple notification messages are sent they are queued up, giving the player a few seconds to view each. | The notification system refers to the set of UI components that show a list of temporary messages on the left side of the screen. If multiple notification messages are sent they are queued up, giving the player a few seconds to view each. | ||
| A basic notification looks like this: | A basic notification looks like this: | ||
| - | {{ : | + | {{ : |
| ==== Basic Notification Commands ==== | ==== Basic Notification Commands ==== | ||
| Line 21: | Line 21: | ||
| osdcreate(OSDNOTIFICATION1, | osdcreate(OSDNOTIFICATION1, | ||
| osdadditem(OSDMINHEIGHT, | osdadditem(OSDMINHEIGHT, | ||
| - | osdaddat(TEXT, 10, 10, 230, 0, "", | + | osdadd(TEXT, 10, 10, 230, 0, "", |
| - | osdaddat(COUNTDOWN, 70, 40, 0, 0, "", | + | osdadd(COUNTDOWN, 70, 40, 0, 0, "", |
| - | osdaddat(TEXT, 105, 43, 0, 0, "", | + | osdadd(TEXT, 105, 43, 0, 0, "", |
| - | osdaddat(EXITBUTTON, | + | osdadd(EXITBUTTON, |
| osdactivate() | osdactivate() | ||
| </ | </ | ||
world_setup/game_features/notifications.1584108222.txt.gz · Last modified: (external edit)
