intersect: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [ | | [[Array]]<nowiki>=</nowiki> [ [[Object]], "LodName"] '''intersect''' [beginPos, endPos] |= Syntax | ||
|p1= [ | |p1= [[Object]] |= Parameter 1 | ||
|p2= LodName: [[String]] |= Parameter 2 | |||
| | |p3= beginPos [[Position3D]] |= Parameter 3 | ||
|p4= beginPos [[Position3D]] |= Parameter 4 | |||
| [[Array]] |= Return value | | [[Array]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>[ | |x1= <pre>[_tank, "VIEW"] intersect [[1500, 1500, 2], [1550, 1500, 2]]</pre> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 13:31, 27 August 2007
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.
- 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.