Difference between revisions of "ADD STRING TO NEWS SCROLLBAR"
Jump to navigation
Jump to search
(New page: {{Native |np=1 |p1t=string |p1d=The string to add to the news scrollbar |r=0 }} Adds a string to the news scrollbar.) |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | [[File:AddStringToNewsScrollbar.jpg|right|thumb|250px|The news scrollbar using the text "ADD_STRING_TO_NEWS_SCROLLBAR"]] | ||
{{Native | {{Native | ||
|np=1 | |np=1 | ||
|p1t=string | |p1t=string | ||
| − | |p1d= | + | |p1d=string to add to the news scrollbar |
|r=0 | |r=0 | ||
}} | }} | ||
| − | + | This function adds a string to the news scrollbar as seen in The Triangle, south of Star Junction. It can be completely cleared by calling the function [[CLEAR_NEWS_SCROLLBAR]]. The news scrollbar in northern Star Junction is controlled by <code>scrollbars.dat</code>. If you use this function again without clearing it, the string will be added next to the previous one that was created. The scrollbar uses font 1 in the Video Editor, which is from the <code>font3</code> texture in the <code>fonts.wtd</code> file. | |
| − | |||
Latest revision as of 23:37, 20 February 2012
| Number of parameters: 1 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | string | string to add to the news scrollbar |
| Return value: | ||
| Type | Description | |
| None | ||
This function adds a string to the news scrollbar as seen in The Triangle, south of Star Junction. It can be completely cleared by calling the function CLEAR_NEWS_SCROLLBAR. The news scrollbar in northern Star Junction is controlled by scrollbars.dat. If you use this function again without clearing it, the string will be added next to the previous one that was created. The scrollbar uses font 1 in the Video Editor, which is from the font3 texture in the fonts.wtd file.