Minitext: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
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]].

Revision as of 11:18, 8 January 2009

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.

Example code:

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.