This is a quick introduction into project setup using our TypeScript template for Warcraft III.
- Warcraft III 1.31.0 or greater.
- Download (or clone) the repository and cd to the project root.
- Install the dependencies.
- Configure your project by editing
config.jsonand making sure
gameExecutableproperly points to your game executable.
Check out Configuration page for more information.
npm run test
When successful, the output should be similar to the text below.
Transpiling TypeScript to Lua...Building "map.w3x"...Launching map "map.w3x"...
Warcraft III should also launch and you should see something like the following image.