param1 == param2

Operand types

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

Type of returned value

Description

Checks if param1 is equal to param2.
Parameter types that can be used are:

Group - grp1 == grp2: Check if two groups are the same one. If any of them are grpNull, false is returned.

Number - a == b: Check if a is equal to b

Object - obj1 == obj2: Check if two objects are the same one. If any of them are objNull, false is returned.

Side - side1 == side2: Check if two side values are equal.

String - stringA == stringB: Check if stringA is equal to stringB (case insensitive)

Used In

OFP/ArmA

Example

group player == group soldierOne
counter == 4
player == leader player
side player == west
nameOfplayer == "John Doe"
Search OFPEC COMREF