Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
mNo edit summary
Line 1: Line 1:
 
'''JASS''' is an event driven scripting language used in Blizzard Entertainment's ''Warcraft III'' game. Map creators can use it in the [[Warcraft III World Editor|World Editor]] to create triggers and AI scripts.
 
'''JASS''' is an event driven scripting language used in Blizzard Entertainment's ''Warcraft III'' game. Map creators can use it in the [[Warcraft III World Editor|World Editor]] to create triggers and AI scripts.
== Features ==
 
   
 
== 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 Turin and Delphi]], although, unlike that language, it is case sensitive.
 
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 Turin and Delphi]], although, unlike that language, it is case sensitive.
   
 
=== Sample code ===
 
=== Sample code ===
 
 
The following function creates a string containing the message "Hello, world!" and displays it to all players:
 
The following function creates a string containing the message "Hello, world!" and displays it to all players:
   
Line 12: Line 11:
 
call DisplayTextToForce( GetPlayersAll(), a )
 
call DisplayTextToForce( GetPlayersAll(), a )
 
endfunction
 
endfunction
  +
   
 
== External links ==
 
== External links ==
   
 
=== Documentation ===
 
=== Documentation ===
 
 
*[http://wc3jass.com/viewtopic.php?t=2039 An Introduction To JASS]--A beginner's guide to the language, covering its basic features and capabilities.
 
*[http://wc3jass.com/viewtopic.php?t=2039 An Introduction To JASS]--A beginner's guide to the language, covering its basic features and capabilities.
 
*[http://jass.sourceforge.net/doc/ 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.
 
*[http://jass.sourceforge.net/doc/ 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.
Line 23: Line 22:
   
 
=== Communities ===
 
=== Communities ===
 
 
*[http://wc3campaigns.net/ Wc3Campaigns]--A forum for discussing Warcraft III modding, art and many other Warcraft III related things.
 
*[http://wc3campaigns.net/ Wc3Campaigns]--A forum for discussing Warcraft III modding, art and many other Warcraft III related things.
 
*[http://www.wc3jass.com/ The Jass Vault]--A forum for discussing JASS development with other programmers.
 
*[http://www.wc3jass.com/ The Jass Vault]--A forum for discussing JASS development with other programmers.
Line 29: Line 27:
   
 
=== Scripts ===
 
=== Scripts ===
 
 
*[http://www.wc3jass.com The Jass Vault]--Contains a large collection of sample scripts.
 
*[http://www.wc3jass.com The Jass Vault]--Contains a large collection of sample scripts.
 
**[http://www.wc3jass.com/index.php?scripts=1 JASS scripts]
 
**[http://www.wc3jass.com/index.php?scripts=1 JASS scripts]
Line 40: Line 37:
   
 
=== Tools ===
 
=== Tools ===
 
 
*[http://wc3campaigns.net/showthread.php?t=78566 Jass Shop Pro]--An [[source code editor|editor]] for JASS scripts.
 
*[http://wc3campaigns.net/showthread.php?t=78566 Jass Shop Pro]--An [[source code editor|editor]] for JASS scripts.
 
*[http://jass.sourceforge.net/ JASS Tools]--Includes a syntax checker.
 
*[http://jass.sourceforge.net/ JASS Tools]--Includes a syntax checker.
 
[[Category:Programming languages]]
 
[[Category:Scripting languages]]
 

Revision as of 12:33, 9 June 2006

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 Turin and 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