Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

wz3.2+

...

Excerpt

Determine if the game is an online multiplayer game...

 

Notes

Use this global to determine if your script is running in an online multiplayer game

...

, with multiple human players.

  • true – Multiplayer
  • false – Skirmish, Challenge or Campaign

You can determine whether players are human or AI using the .isAI property in their associated playerData[] Player object.

Example

Code Block
themeRDark
languagejavascript
linenumberstrue
if (isMultiplayer) {
	// multiple human players on the map!
}

 

 

Div
classbox
Availability
Status
colourYellow
title3.2+

Requires:

  • Warzone 3.2 or above
Div
classbox
Contents

Jump to:

Table of Contents
maxLevel5