Jump to content

IsMultiplayer: Difference between revisions

Add note about IsNetworkGame
mNo edit summary
(Add note about IsNetworkGame)
Line 4: Line 4:
==Usage==
==Usage==


This function checks if the game is an online game (being emulated by the <tt>multiplayer</tt> [[Console Commands|Console Command]] does not count). It bears little relationship to the [[SinglePlayer]] and {{zdw|GameType}} functions, except insofar as those will only report the game as singleplayer if it is ''offline'' Cooperative without multiplayer emulation.
This function checks if the game is an online game (being emulated by the <tt>multiplayer</tt> [[Console Commands|console command]] does not count). It bears little relationship to the [[SinglePlayer]] and {{zdw|GameType}} functions, except insofar as those will only report the game as singleplayer if it is ''offline'' Cooperative without multiplayer emulation.


==Bugs==
==Notes==


No known issues, however old ACC builds used to call this PlayerOnTeam.
Old ACC builds used to call this <tt>PlayerOnTeam</tt>. This function is also sometimes seen as <tt>IsNetworkGame</tt>; which is the exact same function with an identical ACS p-code number.


==Examples==
==Examples==