Jump to content

SCORINFO: Difference between revisions

142 bytes added ,  21 June 2023
Updated links of margin commands to match the sub-pages they are, or will be in, and added a sub-heading above the command list.
(Added the "columnpadding" scoreboard property, and "gapbetweencolumns" property for composite columns.)
Tag: Source edit
(Updated links of margin commands to match the sub-pages they are, or will be in, and added a sub-heading above the command list.)
Tag: Source edit
Line 143: Line 143:
* '''Footer''': appears underneath all player rows.
* '''Footer''': appears underneath all player rows.


=== Margin commands ===
{| class="wikitable" width="100%"
{| class="wikitable" width="100%"
! style="width: 20%" | Command
! style="width: 20%" | Command
! style="width: 80%" | Description
! style="width: 80%" | Description
|-
|-
! [[MultiLineBlock]]
! [[SCORINFO/MultiLineBlock|MultiLineBlock]]
| Starts a block of lines that consist of strings, colors, or textures.
| Starts a block of lines that consist of strings, colors, or textures.
|-
|-
! [[RowBlock]]
! [[SCORINFO/RowBlock|RowBlock]]
| Starts a row that consists of strings, colors, or textures.
| Starts a row that consists of strings, colors, or textures.
|-
|-
! [[DrawString]]
! [[SCORINFO/DrawString|DrawString]]
| Draws text somewhere in the margin.
| Draws text somewhere in the margin.
|-
|-
! [[DrawColor]]
! [[SCORINFO/DrawColor|DrawColor]]
| Draws a color box somewhere in the margin.
| Draws a color box somewhere in the margin.
|-
|-
! [[DrawTexture]]
! [[SCORINFO/DrawTexture|DrawTexture]]
| Draws a graphic or image somewhere in the margin.
| Draws a graphic or image somewhere in the margin.
|-
|-
Line 186: Line 187:
| Executes a block when players can earn any of the given types. Possible values are '''frags''', '''points''', '''wins''', and '''kills'''.
| Executes a block when players can earn any of the given types. Possible values are '''frags''', '''points''', '''wins''', and '''kills'''.
|-
|-
! [[IfCVar]]
! [[SCORINFO/IfCVar|IfCVar]]
| Executes a block depending on a CVar's value.
| Executes a block depending on a CVar's value.
|}
|}