Versions Compared
compared with
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
const DROID_ANY = 15; // only required for WZ 3.1 RC3 or earlier |
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
var myDroidCount = countDroid(DROID_ANY, me); |
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|
Include Page | ||||
---|---|---|---|---|
|