Triggers/Conditions/Not

From SC2Mapster Wiki
Jump to: navigation, search

Not

A logical operator used in condition statements. It will take the evaluation of the conditions under the NOT and negate them. By default, conditions placed under a NOT are evaluated by logical OR, so if need a logical NAND, you will need to add an explicit AND.

GUI

Logic - Not

Galaxy Code

bool Not ( )

Description

Returns true if all the conditions listed under it evaluate to false. If multiple conditions are listed under the "Not" condition, those conditions will first be evaluated as if they were under an "Or" condition, and then the "Not" condition will invert the result.

Parameters

Return Type: bool