World of Warcraft Wiki
Advertisement

JASS is an event driven scripting language used in Blizzard Entertainment's Warcraft III game. Map creators can use it in the World Editor to create triggers and AI scripts.

Features[]

The language provides an extensive API that gives programmers control over nearly every aspect of the game world. It can, for example, give orders to units, change the weather and time of day, play sounds and display text to the player, and manipulate the terrain. It has a syntax similar to Delphi, although, unlike that language, it is case sensitive.

Sample code[]

The following function creates a string containing the message "Hello, world!" and displays it to all players:

function Trig_JASS_test_Actions takes nothing returns nothing
 local string a ="Hello, world!"
 call DisplayTextToForce( GetPlayersAll(), a )
endfunction

External links[]

Documentation[]

  • An Introduction To JASS—A beginner's guide to the language, covering its basic features and capabilities.
  • JASS Manual—An advanced guide to the language, intended to serve as a reference for users who are already proficient with it. Includes a comprehensive API browser.
  • Tutorials—A collection of tutorials about the language.
  • Warcraft 3 Modding Wiki—Getting better and better.

Communities[]

Scripts[]

Tools[]

Advertisement