Welcome to the scripting forum

For AI and campaign script related discussions and questions
Post Reply
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3777
Joined: 03 Aug 2006, 19:39

Welcome to the scripting forum

Post by Per » 16 Dec 2009, 00:22

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

User avatar
Posts: 3459
Joined: 10 Oct 2010, 00:58

Re: Welcome to the scripting forum

Post by aubergine » 12 Jan 2012, 03:31

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
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO

Post Reply