Other great resources: Official JS API docs, Scripting Forum
Random Stuff
Overview
This section contains some random things that you might find useful...Guides
- enumEnemyStruct(structure[,viewer]) — Returns an array of all enemy structures of a given type, optionally filtered to visibility of lookingPlayer.
- getEnemyPlayerIDs() — Returns an array of all enemy player IDs, including scavengers, using caching for extra performance.
- Prioritising research — Based on events in the game, how can I change my research priorities?