Jass documentation Database

JASS Documentation Database REFORGED

Results for the query "Condition" as a "function"

The search keyword must be a single word (no spaces).

Function Condition

Line: 2470
Location: common.j
Constant? no
Type: native
Arguments: code func
Returns: conditionfunc


Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. native Condition takes code func returns conditionfunc

Information about Condition

Information contributed by City17
on February 24, 2022, 02:59:01 PM.
returns a new conditionfunc that has the result of evaluating func(). func will receive no arguments and must return a boolean: true/false.

Note: conditionfunc extends from boolexpr->agent and must be explicitly destroyed with DestroyBoolExpr/DestroyCondition to prevent leaks.
However, most functions from blizzard.j destroy passed boolexpr automatically.
Page loaded in 0.1107 seconds.
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...