Other great resources: Official JS API docs, Scripting Forum
scavengers
Indicates whether scavengers are enabled in this game.
Values
Icon | Value | Notes |
|---|---|---|
| Scavengers are enabled. However, this doesn't mean there will be scavengers on the map! The map must define a scavenger base for the scavenger faction to actually appear. | |
| 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 |
How is it set?
For Challenge Games, set the "Scavengers" property in your .ini file to either true or false.
For skirmish and multiplayer games, Scavengers are enabled or disabled on the game set-up screen:
In the early beta releases, bug #3123 prevented scripts from getting lists of scavenger droids and structures. See scavengerPlayer for some ideas as to how to deal with that.