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 IsNetworkGame (void)


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.


No known issues, however old ACC builds used to call this PlayerOnTeam.


1 Script 1 Enter
2 {
3     if (IsNetworkGame())
4     {
5         Print(s: "Isn't multiplayer fun?");
6     }
7 }