Overview
Investigations in to JS API changes between published Warzone versions...The tables below show which features are available for each published version of Warzone since 3.1 Beta 1.
Comparison Tables
The script
To gather information I made a fake AI script that, after a 15 second delay, lists all JS API features in the AI's console (so you need to enter debug mode and switch to the AI player to see the list).
Here's that script:
var globalobj = this; function tracebot() { console("game version "+version); var gk = Object.keys(globalobj); var alphaSort = function(a,b) { if (a<b) return -1; if (a>b) return 1; return 0; } gk.sort(alphaSort); var ar = []; while (gk.length) { ar.push(gk.pop()); if (ar.length>8) { console(ar.join(',')); ar = []; } } if (ar.length) console(ar.join(',')); } function eventStartLevel() { setTimer("tracebot",15000); }
After outputting the list, I screen grab the console and then manually update the table further up this page.
Gallery of screen grabs:
Tracebot screenshots |
---|
There are no images attached to this page. |
A huge thanks to Artofeel and NoQ for getting 3.1 Beta 1 screenshots!