a != b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Removed wiki links in <pre> part)
m (Added wiki links in correct format)
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <pre>counter != 4
|x1= <code>counter !<nowiki>=</nowiki> 4
 
<br />
side player != west
[[side]] [[player]] !<nowiki>=</nowiki> [[west]]
 
<br />
nameofplayer != "John Doe"
nameofplayer !<nowiki>=</nowiki> "John Doe"
 
<br />
vehicle player != player
[[vehicle]] [[player]] !<nowiki>=</nowiki> [[player]]
 
<br />
group player != group soldierOne
[[group]] [[player]] !<nowiki>=</nowiki> [[group]] soldierOne
 
<br />
if (fuel truck1 != 1) then {hint "Truck1 has less than a full tank of fuel."}</pre> |=
[[if]] ([[fuel]] truck1 !<nowiki>=</nowiki> 1) [[then]] {[[hint]] "Truck1 has less than a full tank of fuel."}</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:24, 8 September 2006

Hover & click on the images for description

Description

Description:
a not equal to b
Groups:
Uncategorised

Syntax

Syntax:
a != b
Parameters:
a: Number, Side, String, Object, Group, Structured Text, Config, Display or Control
b: Number, Side, String, Object, Group, Structured Text, Config, Display or Control
Return Value:
Boolean

Examples

Example 1:
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."}

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section