Page 1 of 1

Welcome to the scripting forum

Posted: 16 Dec 2009, 00:22
by Per
I took the liberty of extending the development forums with one more corner. This one is for discussion of script related questions and issues. If there is any questions you have regarding scripting of Warzone, ask them in this forum.

This particular sticky post is for hoarding useful links and other references and tips for the scripting system. If you have any suggestions for what should be here, add a reply and I'll incorporate it.

Introduction to javascript: https://developer.mozilla.org/en-US/doc ... ript/Guide

Javascript reference documentation: https://developer.mozilla.org/en-US/doc ... /Reference

The latest warzone API documentation: https://github.com/Warzone2100/warzone2 ... ripting.md

Re: Welcome to the scripting forum

Posted: 12 Jan 2012, 03:31
by aubergine
General links:
  • Developer wiki
Javascript API - for AIs, rules, scavengers, campaigns and challenges
  • What's in the native JS environment? -- reference to the native JS objects, properties, methods, etc.
  • Live JS API docs -- generated nightly from the latest MASTER branch source code
  • In-depth JS API docs -- external site with more detailed info on the JS API
  • Tutorials -- various tutorials and worked examples using the JS API
  • Useful links -- links to loads of other stuff you may find useful
Post edited to strikeout bad links by Per 24/2-2018