Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!


From SC2Mapster Wiki
Jump to: navigation, search


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