IsOneFlagCTF

From Zandronum Wiki
Jump to: navigation, search
Zandronum SkulltagOverlay.png Warning: This feature is Zandronum specific and may not supported by ZDoom and its other child ports!
Documentation may not be accurate, see ACS Functions.

int IsOneFlagCTF (void)

Usage

This function can be used to determine if the gametype is One Flag Capture The Flag.

Examples

 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 }