printsprite

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);
}

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.