param1 != param2

Operand types

param1: ----
param2: ----

Type of returned value

Description

Check if two parameter values are different.
param1 and param2 can be one of the following types:

Location - location1 != location2: Checks whether two location entries are not the same.

Task - task1 != task2: Checks whether two tasks are not the same.

Used In

Arma2

Example

if _task1 != _task2 then {x = 10}
Search OFPEC COMREF