IsOneFlagCTF

Revision as of 17:49, 2 July 2022 by DrinkyBird (talk | contribs) (type is bool)
(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.

bool IsOneFlagCTF (void)

Usage

Return value

This function returns whether the current game mode is one-flag Capture The Flag.

Examples

Script 1 ENTER
{
    if (IsOneFlagCTF())
    {
        Print(s:"Have fun playing with only one flag!");
    }
    else
    {
        Print(s:"This map is meant for only one flag CTF!");
    }
}

See also