builtin magic function. Calls all functions with the given annotation, for example callFunctionsWithAnnotation("@initializeObject"). The called functions must not take any parameters.
public function compileError(string msg)
Stops compilation with the provided error message
public function getMapName() returns string
Returns the map name from wurst.build file
public function getBuildDate() returns string
Returns the build date in uuuu-MM-dd’T’HH:mm format
public function isProductionBuild() returns boolean
Returns true if the map is being built using the ‘buildmap’ command, false otherwise.
public function getStackTraceString() returns string
builtin function which returns a stack trace. If stack traces are disabled, this function returns the empty string.
public function callFunctionsWithAnnotation(string _annotation)
public function compiletime<T:>(T expr) returns T
This is a builtin magic function.
public constant compiletime = false
this is a magic constant. It is always false at runtime and true during compiletime.
public constant isLua = false
This is a magic constant. It is always false when compiling to Jass and true when compiling to Lua. Use it to write backend-specific code paths.