Triggers/Conditions/Comparison

From SC2Mapster Wiki
Jump to: navigation, search

Comparison[edit | edit source]

A logical operator used in conditional statements. It will evaluate the values one each side of the operator, and compare them with one of the comparator operators (Equals, Not Equals, Less Than, Greater Than, Less or Equal Than, Greater or Equal Than.

GUI[edit | edit source]

Logic - val1 op val2

Galaxy Code[edit | edit source]

bool Comparison ( anycompare val1, preset op, sameas val2 )

Description[edit | edit source]

Evaluates and compares two arguments.

Parameters[edit | edit source]

Return Type: bool[edit | edit source]