printsprite

From ZDoom Wiki
Jump to navigation Jump to search

This function draws the specified sprite to the screen at the given position.

function void printsprite(str sprite, int id, int x, int y, int delay)
{
    SetFont(sprite);
    HudMessage(s:"A"; HUDMSG_PLAIN, id, CR_UNTRANSLATED, x, y, delay);
}