Other great resources: Official JS API docs, Scripting Forum
DROID_ANY
Used to bypass droid type filtering in functions that list or count droids.
Syntax
DROID_ANYNotes
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:
const DROID_ANY = 15; // only required for WZ 3.1 RC3 or earlierExample
var myDroidCount = countDroid(DROID_ANY, me);