IsOneFlagCTF: Difference between revisions

type is bool
(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...")
 
(type is bool)
Tag: Source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Template:ACSWarning}}
{{Template:ACSWarning}}
int '''IsOneFlagCTF''' (void)
bool '''IsOneFlagCTF''' (void)


==Usage==
== Usage ==
 
=== Return value ===
This function can be used to determine if the gametype is One Flag Capture The Flag.
This function returns whether the current game mode is [[Game_Modes#One_Flag_Capture_the_Flag|one-flag Capture The Flag]].
 
==Examples==


== Examples ==
<syntaxhighlight lang="c" line="1">
<syntaxhighlight lang="c" line="1">
Script 1 ENTER
Script 1 ENTER
Line 22: Line 21:
</syntaxhighlight>
</syntaxhighlight>


[[category:ACS Functions]]
== See also ==
* [[GetCurrentGameMode]]
 
[[category:ACS functions]]