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!

Triggers/Conditions/Comparison

From SC2Mapster Wiki
Jump to: navigation, search

Comparison

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

Logic - val1 op val2

Galaxy Code

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

Description

Evaluates and compares two arguments.

Parameters

Return Type: bool