IsNetworkGame
Jump to navigation
Jump to search
![]() |
Warning: This feature is Skulltag specific, and is not compatible with ZDoom! To see all of Skulltag's specific features, see Skulltag features. |
int IsNetworkGame (void)
Usage
This function checks if the game is an online game (being emulated by the Multiplayer Console Command does not count). It bears little relationship to the SinglePlayer and GameType functions, except insofar as those will only report the game as singleplayer if it is offline Cooperative without multiplayer emulation.
Bugs
No known issues, however old ACC builds used to call this PlayerOnTeam.
Examples
Script 1 Enter
{
if (IsNetworkGame())
{
Print(s: "Isn't multiplayer fun?");
}
}