Versions Compared

Key

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

Used to bypass droid type filtering in functions that list or count droids.

 

Syntax

Code Block
themeRDark
languagejavascript
linenumberstrue
DROID_ANY

Notes

Can be used in countDroid() and enumDroid() to bypass the droid type filter.

Prior to Warzone 3.1.0, you'll need to manually define the constant:

Code Block
themeRDark
languagejavascript
linenumberstrue
const DROID_ANY = 15; // only required for WZ 3.1 RC3 or earlier

Example

Code Block
themeRDark
languagejavascript
linenumberstrue
var myDroidCount = countDroid(DROID_ANY, me);
Div
classbox
Availability
Status
colourYellow
title3.1.0+

Requires:

  • Warzone 3.1.0 or above
Div
classbox
Contents

Jump to:

Table of Contents
maxLevel5

Include Page
.jslinks-droids
.jslinks-droids