From Bohemia Interactive Community
|
|
(29 intermediate revisions by 10 users not shown) |
Line 1: |
Line 1: |
| {{Command|= Comments
| | #REDIRECT [[in]] |
| ____________________________________________________________________________________________
| |
| | |
| | ofp |= Game name
| |
| | |
| |1.00|= Game version
| |
| | |
| |arg= local |= Arguments in MP
| |
| ____________________________________________________________________________________________
| |
| | |
| | Checks whether x is equal to any element in the array. |= Description
| |
| ____________________________________________________________________________________________
| |
| | |
| | ''x'' '''in''' Array |= Syntax
| |
| |p1 = x: [[Any Value]]
| |
| |p2 = Array: [[Array]]
| |
| | [[Boolean]] |= Return value
| |
| ____________________________________________________________________________________________
| |
| |x1 = <code> 1 '''in''' [0, 1, 2] </code>
| |
| | |
| Result is true
| |
| | |= 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|INARRAY]]
| |
| [[Category:Scripting Commands OFP 1.96|INARRAY]]
| |
| [[Category:Scripting Commands OFP 1.46|INARRAY]]
| |
| [[Category:Scripting Commands ArmA|INARRAY]]
| |
Latest revision as of 22:07, 3 February 2016