IsOneFlagCTF

Revision as of 16:08, 21 August 2016 by DrinkyBird (talk | contribs) (Created page with "{{Template:ACSWarning}} int '''IsOneFlagCTF''' (void) ==Usage== This function can be used to determine if the gametype is One Flag Capture The Flag. ==Examples== <syntaxhi...")
(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.

int IsOneFlagCTF (void)

Usage

This function can be used to determine if the gametype 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!");
    }
}