User Tools

Site Tools


scripting:samples:hiscoretable

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
scripting:samples:hiscoretable [2023/04/17 12:29] mitscripting:samples:hiscoretable [2023/04/23 18:40] (current) mit
Line 4: Line 4:
 The script uses a module variable '$kScoreboardName' to identify the board.. you can change this to whatever you like and you can create multiple scoreboards just by using different names. The script uses a module variable '$kScoreboardName' to identify the board.. you can change this to whatever you like and you can create multiple scoreboards just by using different names.
  
-The example shows a board that stores times and the board is ordered+The example shows a board that stores times and the board is ordered so the lowest time is at the top of the score table.
  
 <code> <code>
 $kScoreboardName = "SampleHiscore" $kScoreboardName = "SampleHiscore"
  
-function HiscoreDisplay( $boardName )+function HiscoreDisplay( $boardName )
 { {
  osdcreate( OSDWINDOW,"HiscoresOSD", ""  osdcreate( OSDWINDOW,"HiscoresOSD", ""
scripting/samples/hiscoretable.1681752542.txt.gz · Last modified: 2023/04/17 12:29 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