intersect: Difference between revisions
Jump to navigation
Jump to search
m (VBS2 scripting category removal) |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 45: | Line 45: | ||
[[Category:Scripting Commands ArmA|INTERSECT]] | [[Category:Scripting Commands ArmA|INTERSECT]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:14, 2 November 2011
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 [begin, end]
- Parameters:
- [object, lodName]: Array
- object: Object
- lodName: String
- [begin, end]: Array
- begin: Array - format Position3D
- end: Array - format 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.