|
|
Line 1: |
Line 1: |
| {{Command|= Comments
| | #REDIRECT [[Operators]] |
| ____________________________________________________________________________________________
| |
| | |
| | ofp |= Game name
| |
| | |
| |1.00|= Game version
| |
| ____________________________________________________________________________________________
| |
| | |
| | Returns whether one value is '''not''' equal to another. |= Description
| |
| ____________________________________________________________________________________________
| |
| | |
| | a '''<nowiki>!=</nowiki>''' b |= Syntax
| |
| | |
| |p1= a: [[Number]], [[Side]], [[String]], [[Object]], [[Group]], [[Structured Text]], [[Config]], [[Display]] or [[Control]] |=
| |
| | |
| |p2= b: [[Number]], [[Side]], [[String]], [[Object]], [[Group]], [[Structured Text]], [[Config]], [[Display]] or [[Control]] |=
| |
| | |
| | [[Boolean]] - <tt>true</tt> if a is not the same as b |= Return value
| |
| ____________________________________________________________________________________________
| |
| | |
| |x1= Some basic examples of the usage of this operator.
| |
| | |
| counter !<nowiki>=</nowiki> 4
| |
| | |
| [[side]] [[player]] !<nowiki>=</nowiki> [[west]]
| |
| | |
| nameofplayer !<nowiki>=</nowiki> "John Doe"
| |
| | |
| [[vehicle]] [[player]] !<nowiki>=</nowiki> [[player]]
| |
| | |
| [[group]] [[player]] !<nowiki>=</nowiki> [[group]] soldierOne
| |
| | |
| [[if]] ([[fuel]] truck1 !<nowiki>=</nowiki> 1) [[then]]
| |
| {
| |
| [[hint]] "Truck1 has less than a full tank of fuel.";
| |
| } |=
| |
| ____________________________________________________________________________________________
| |
| | |
| | |= See also
| |
| | |
| }}
| |
| | |
| <h3 style="display:none">Notes</h3>
| |
| <dl class="command_description">
| |
| <!-- Note Section BEGIN -->
| |
| | |
| <!-- Note Section END -->
| |
| </dl>
| |
| | |
| <h3 style="display:none">Bottom Section</h3>
| |
| | |
| [[Category:Scripting Commands|#]]
| |
| [[Category:Scripting Commands OFP 1.96|#]] | |
| [[Category:Scripting Commands OFP 1.46|#]]
| |
| [[Category:Scripting Commands ArmA|#]]
| |
| | |
| [[Category:Command_Group:_Math|#]]
| |