Triggers/Conditions/And

From SC2Mapster Wiki
Jump to: navigation, search

And[edit | edit source]

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

GUI[edit | edit source]

Logic - And

Galaxy Code[edit | edit source]

bool And ( )

Description[edit | edit source]

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.

Parameters[edit | edit source]

Return Type: bool[edit | edit source]