intersect

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.00

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

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"

Syntax

Syntax:
Array= [ Object, "LodName"] intersect [beginPos, endPos]
Parameters:
Object
LodName: String
beginPos: Position3D
endPos: Position3D
Return Value:
Array

Examples

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

Additional Information

Multiplayer:
Behaviour unknown.

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

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

Bottom Section

Personal tools
Buy ArmA now!