intersect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(added Lod names)
Line 8: Line 8:


| Find named selections in object which is in specified lod intersected by given section of a line.  
| Find named selections in object which is in specified lod intersected by given section of a line.  
Return value is in the form of [selection, number]. Multiple returned arrays are nested within a single array, and no intersection will return an empty array.|= Description
Return value is in the form of [selection, number]. Multiple returned arrays are nested within a single array, and no intersection will return an empty array.
"LodName" is one of: "FIRE", "VIEW", "GEOM", "IFIRE"|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 03:54, 12 September 2007

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

Description

Description:
Find named selections in object which is in specified lod intersected by given section of a line. Return value is in the form of [selection, number]. Multiple returned arrays are nested within a single array, and no intersection will return an empty array. "LodName" is one of: "FIRE", "VIEW", "GEOM", "IFIRE"
Groups:
Uncategorised

Syntax

Syntax:
Array= [ Object, "LodName"] intersect [beginPos, endPos]
Parameters:
Object
LodName: String
beginPos Position3D
beginPos Position3D
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

The most common LOD is "FIRE", which identifies the most detailled hitbox used for ammunition.

Bottom Section