InDemoMode

Revision as of 17:41, 2 July 2022 by DrinkyBird (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

int InDemoMode (void)

Usage

Return value

Returns true if the engine is currently playing a demo, false otherwise.

Examples

Script 1 OPEN
{
    if (InDemoMode())
    {
        PrintBold(s:"We are watching a demo right now!");
    }
}