Wiki News Account creation no longer requires administrator approval - edits are still moderated, however.

InDemoMode

From Zandronum Wiki
Jump to navigation Jump to search
Zandronum SkulltagOverlay.png Warning: This feature is Zandronum specific and may not supported by ZDoom and its other child ports!
Documentation may not be accurate, see ACS Functions.

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