User Tools

Site Tools


world_setup:game_features:notifications

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
world_setup:game_features:notifications [2020/03/13 09:03] – [Notification System] mitworld_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:
-{{ :reference:server_commands:notifylarge.gif?240 |}}+{{ :reference:server_commands:notifylarge.gif?250 |}}
  
 ==== Basic Notification Commands ==== ==== Basic Notification Commands ====
Line 21: Line 21:
  osdcreate(OSDNOTIFICATION1, "CrowPopup", "RC Battle", $secsTillStart )  osdcreate(OSDNOTIFICATION1, "CrowPopup", "RC Battle", $secsTillStart )
  osdadditem(OSDMINHEIGHT, "", "100" )  osdadditem(OSDMINHEIGHT, "", "100" )
- osdaddat(TEXT, 10, 10, 230, 0, "", "Free-for-all RC battle starts in:" )  + osdadd(TEXT, 10, 10, 230, 0, "", "Free-for-all RC battle starts in:" )  
- osdaddat(COUNTDOWN, 70, 40, 0, 0, "", "$secsTillStart")  + osdadd(COUNTDOWN, 70, 40, 0, 0, "", "$secsTillStart")  
- osdaddat(TEXT, 105, 43, 0, 0, "", "secs" )  + osdadd(TEXT, 105, 43, 0, 0, "", "secs" )  
- osdaddat(EXITBUTTON, 25, 70, 200, 25, "join", "Sign Up" )+ osdadd(EXITBUTTON, 25, 70, 200, 25, "join", "Sign Up" )
  osdactivate()  osdactivate()
 </code> </code>
world_setup/game_features/notifications.1584108238.txt.gz · Last modified: 2020/03/13 09:03 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki