InDemoMode: Difference between revisions
(Added page for InDemoMode.) |
DrinkyBird (talk | contribs) (3.1 is released, so Devfeature templates have been removed) |
||
Line 1: | Line 1: | ||
{{Template:ACSWarning}} | {{Template:ACSWarning}} | ||
int '''InDemoMode''' (void) | int '''InDemoMode''' (void) | ||
==Usage== | ==Usage== |
Revision as of 20:31, 12 December 2021
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports. |
int InDemoMode (void)
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!");
}
}