Comparsion
Last updated
Last updated
The comparison trigger monitors the conditions under which numbers or variable values meet the comparison conditions. Comparison conditions can be as follows:
(=) Equal - variables or numbers are equal
(≠) Not Equal - variables or numbers are not equal
(>) More - the first variable or number is greater than the second variable or number
(≥) More - the first variable or number is greater than or equal to the second variable or number
(<) Less - first variable or number less than the second variable or number
(≤) Less - the first variable or number less than or equal to the second variable or number
You can change the comparison condition in an already created trigger by clicking the icon between the parameters being compared.
The comparison objects can be:
Numbers, you can compare to numbers or numeric variables
Comparison of variables of different types has no sense (except for numeric and boolean variables) and will be triggered only when comparing by (≠).
Events are tracked by 4 states Started, Continue, End,False
The trigger is activated as soon as the specified expression becomes true. If it has been true since the game started, the trigger will not work.
The trigger activates and continues as long as the specified expression remains true.
The trigger activates as soon as the specified expression is no longer true. If it has been false since the game started, the trigger will not work.
The trigger activates and continues its operation as long as the specified expression remains incorrect.
Numeric variables, can be compared to numbers and other numeric variables
Boolean variables, can only be compared to boolean or numeric variables. When comparing with numeric variables, the value is false=0, true=1.
Variables of object type, can be compared only with variables of object type. Comparison can be performed only by conditions (=) or (≠)
Variables of the tag type, can be compared only with variables of the tag type. Comparison can be made only by conditions (=) or (≠).