a != b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.97|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA|#]]

Revision as of 19:28, 1 June 2006


a != b


Operand types:

a: Number, Side, String, Object or Group

b: Number, Side, String, Object or Group

Type of returned value:

Boolean

Description:

a not equal to b


Examples:

counter != 4

side player != west

nameofplayer != "John Doe"

vehicle player != player

group player != group soldierOne

if (fuel truck1 != 1) then {hint "Truck1 has less than a full tank of fuel."}