intersect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (wrong syntax, missed ])
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|INTERSECT]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |INTERSECT]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|INTERSECT]]


| arma |= Game name


<h2 style="color:#000066">'''''[object, lod name]'' intersect ''[begin, end]'''''</h2>
|2.53|= Game version
____________________________________________________________________________________________


| Find named selection in object which is in specified lod intersected by given section of a line. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| [object, lod name] '''intersect''' [begin, end] |= Syntax


'''[object, lod name]''': [[Array]]
|p1= [object, lod name] [[Array]] |= Parameter 1


'''[begin, end]''': [[Array]]
|p2= [begin, end] [[Array]] |= Parameter 2


'''Type of returned value:'''
| [[Array]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[tank, "VIEW"] intersect [[1500, 1500, 2], [1550, 1500, 2]]</pre> |= Example 1
____________________________________________________________________________________________


[[Array]]
|  |= See also


'''Compatibility:'''
}}


Version 2.53 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Find named selection in object which is in specified lod intersected by given section of a line.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|INTERSECT]]
 
[[Category:Scripting Commands OFP Elite |INTERSECT]]
'''Example:'''
[[Category:Scripting Commands ArmA|INTERSECT]]
 
[tank, "VIEW"] '''intersect''' [[1500, 1500, 2], [1550, 1500, 2]]

Revision as of 00:33, 2 August 2006

-wrong parameter ("Arma") defined!-2.53
Hover & click on the images for description

Description

Description:
Find named selection in object which is in specified lod intersected by given section of a line.
Groups:
Uncategorised

Syntax

Syntax:
[object, lod name] intersect [begin, end]
Parameters:
[object, lod name] Array
[begin, end] Array
Return Value:
Array

Examples

Example 1:
[tank, "VIEW"] intersect [[1500, 1500, 2], [1550, 1500, 2]]

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