• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Crypt Features

Level 21
Joined
Mar 27, 2012
Messages
3,232
The language is called Crypt Script or Crypt for short.
All external script files use the .cry format and get converted to .j upon compilation.
All syntactic sugar is optional and only meant to make the scripts cleaner/faster to write.
JASS:
//Increment operator
i++
set i = i + 1

//Decrement operator
i--
set i = i - 1

//Addition
i+=x
set i = i + x

//Subtraction
i-=x
set i = i - x

//The "set" keyword can be omitted.
i = x + y
set i = x + 1

//"break" can be written instead of "exitwhen true"
loop
    break
endloop
loop
    exitwhen true
endloop

//The "if" and "then" keywords can be omitted in == comparisons. 
//You can omit both, one, or neither of them.
x == y
if x == y
x == y then
if x == y then
Last edited:
Top