IsOneFlagCTF

From ZDoom Wiki
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

 1 Script 1 ENTER
 2 {
 3     if (IsOneFlagCTF())
 4     {
 5         Print(s:"Have fun playing with only one flag!");
 6     }
 7     else
 8     {
 9         Print(s:"This map is meant for only one flag CTF!");
10     }
11 }