InDemoMode
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports. |
int InDemoMode (void) (development version 3.1-alpha and above only)
Usage
This function can be used to determine if a demo is currently being run or not.
Examples
Script 1 OPEN
{
if (InDemoMode())
{
PrintBold(s:"We are watching a demo right now!");
}
}