ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


constants:hudtic

Table of Contents

HUDTIC

fixed HUDTIC = 0.03;

Description

This stay duration of HudMessages makes them stay on screen for exactly one tic.

Can be used with both HudMessage and the HUD Library.

Examples

while (true)
{
    HudMessage(..., HUDTIC);
    Delay(1);
}

The HudMessage will disappear automatically once the loop stops.

HUD Library version:

while (true)
{
    HudSetStayTime(HUDTIC);
    HudDrawText(1, ...);
    Delay(1);
}
constants/hudtic.txt · Last modified: 2017/07/09 14:23 by korshun