world_setup:game_features:notifications
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
world_setup:game_features:notifications [2020/03/13 09:03] – [Notification System] mit | world_setup:game_features:notifications [2023/02/28 07:06] (current) – [Scripted Notifications] mit | ||
---|---|---|---|
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.1584108238.txt.gz · Last modified: 2020/03/13 09:03 by mit