SC2Mapster Wiki


A logical operator used in condition statements. All the conditions in the AND must evaluate to true for the AND to evaluate to true.


Logic - And

Galaxy Code[]

bool And ( )


Returns true if all of the conditions listed under the "And" condition return true. By default, lists of conditions without an "And" condition or an "Or" condition must all return true in order for the condition to evaluate to true (they are treated as if they were under an "And" condition). Therefore, this condition is only necessary if it is nested within another condition such as a "Not" condition or an "Or" condition.


Return Type: bool[]