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