Versions Compared

Key

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

...

Excerpt
Indicates whether scavengers are enabled in this game.

Availability

Warzone 3.1 Beta 1 and above.

Notes

Scavengers are enabled or disabled on the game set-up screen. The map must define a scavenger base for the scavenger faction to actually appear.

...

Currently it's very difficult for the AI to do anything with scavengers. This is because they are outside the accepted player ID bounds of the JS API (see bug ticket #3123 for details).On a 2 player map, scavengers are player 3 (or 4?). On a 4 player map, scavengers are player 7. Because the JS API will only select player IDs lower than maxPlayers, and maxPlayers is the number of selectable players on a map (eg. 2 for a 2 player map), the scavenger player is essentially inaccessible to your script.

Values

ValueNotes
true

Scavengers are enabled. However, this doesn't mean there will be scavengers on the map!

If the map file doesn't contain any scavenger bases, then there will not be any scavengers even when this value is true.

false

Scavengers are disabled and the map will not contain any scavengers.

If the map file contains scavenger bases/units, they will be removed from the map when this value is false.

Examples

none yet

See also