function RunBoolexpr takes boolexpr filter returns boolean
local boolean result
call TriggerAddCondition(RunBoolexprTri, filter)
set result = TriggerEvaluate(RunBoolexprTri)
call TriggerClearConditions(RunBoolexprTri)
return result
endfunction
boolexpr array Action
function AddAction takes integer i, boolexpr action returns nothing
set Action = action
endfunction
[/jass]