Versions Compared

Key

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

...

It uses JavaScript, so you should become familiar with this language before proceeding with this document. A number of very good guides to JavaScript exist on the Internet.

The ECMA-262 implementation (Javascript to you and me) used in Warzone is based on Spidermonkey, the JS engine used in Apple's Safari web browser.

Game rules and Scavenger AI

The following hard-coded files exist for game rules that use this API:

It's worth looking at both these files (click links above) as they contain lots of useful code that might be of use in your scripts. which you can learn from.
Also, you can create mods to overwrite these files if desired.

...