printsprite

From ZDoom Wiki

Jump to: navigation, 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"; 0, id, CR_UNTRANSLATED, x, y, delay);
}
Personal tools