IsOneFlagCTF

From ZDoom Wiki
Revision as of 23:13, 8 January 2017 by Tiger (talk | contribs) (Added example.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SkulltagIcon.png Warning: This feature is Skulltag specific, and is not compatible with ZDoom!
To see all of Skulltag's specific features, see Skulltag features.


int IsOneFlagCTF (void)

Usage

Returns true if the game is a One Flag CTF match.

Example

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