Minitext: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
minitext <x> <y> <quote> <shade> <pal>
{{Deprecated}}
 
'''minitext''' <x> <y> <quote> <shade> <pal>


Prints a defined quote to the screen using small text.
Prints a defined quote to the screen using small text.


<x> and <y> are on-screen coordinates.
<x> X coordinate, ranged 0-320
 
<y> Y coordinate, ranged 0-200


<quote> is the quote to print, as defined by [[definequote]].
<quote> is the quote to print, as defined by [[definequote]].
Line 9: Line 13:
<shade> and <pal> are obviously shade and palette.   
<shade> and <pal> are obviously shade and palette.   


Example code:
setvar x 0
setvar y 100
setvar shade 0
setvar pal 0
setvar TEMP 100
'''minitext''' x y TEMP shade pal


setvar x 0
Please note that as with [[digitalnumber]], [[gametext]] and friends, minitext only works during [[events]].


setvar y 100
[[Category:EDuke32 specific commands]]
 
[[Category:Screen drawing commands]]
setvar shade 0
 
setvar pal 0
 
setvar TEMP 100
 
minitext x y TEMP shade pal
 
Please note that as with [[digitalnumber]], [[gametext]] and friends, minitext only works during [[events]].

Latest revision as of 04:10, 29 August 2020

This feature is deprecated.
It's recommend not to use this feature.

minitext <x> <y> <quote> <shade> <pal>

Prints a defined quote to the screen using small text.

<x> X coordinate, ranged 0-320

<y> Y coordinate, ranged 0-200

<quote> is the quote to print, as defined by definequote.

<shade> and <pal> are obviously shade and palette.

setvar x 0
setvar y 100
setvar shade 0
setvar pal 0
setvar TEMP 100
minitext x y TEMP shade pal

Please note that as with digitalnumber, gametext and friends, minitext only works during events.