| Main Page | Recent changes | Edit this page | Page history Printable version | Disclaimers | Privacy policy | Not logged in Log in | Help

# Gametext

From EDukeWiki

Categories: EDuke32 specific commands | Screen drawing commands

gametext <tilenum> <x> <y> <quote> <shade> <pal> <orientation> <x1> <y1> <x2> <y2>

Prints a defined quote to the screen.

<tilenum> is the first tile of a sequence of characters. See tile 2822 for an example.

<x> and <y> are on-screen coordinates.

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

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

<orientation> is.. hard to explain. Play with values like 16 and 26.

<x1>, <y1>, <x2> and <y2> are boundaries on the screen that define where the text may be drawn.

Example code:

    setvar x 0
    setvar y 100
    setvar shade 0
    setvar pal 0
    setvar tilenum STARTALPHANUM
    setvar orientation 26
    setvar TEMP 100
    digitalnumber tilenum x y TEMP shade pal orientation ZERO ZERO xdim ydim

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

Retrieved from "http://sc8-pr-shell1.sourceforge.net../../../g/a/m/Gametext.html"

This page has been accessed 286 times. This page was last modified 08:46, 24 September 2005 by Richard Gobeille. Content is available under SourceForge.

Main Page
Recent changes
Random page
EDuke32.com

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports