intersect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (wrong syntax, missed ])
Line 28: Line 28:
'''Example:'''
'''Example:'''


[tank, "VIEW" '''intersect''' [[1500, 1500, 2], [1550, 1500, 2]]
[tank, "VIEW"] '''intersect''' [[1500, 1500, 2], [1550, 1500, 2]]

Revision as of 21:02, 23 July 2006


[object, lod name] intersect [begin, end]


Operand types:

[object, lod name]: Array

[begin, end]: Array

Type of returned value:

Array

Compatibility:

Version 2.53 required.

Description:

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


Example:

[tank, "VIEW"] intersect [[1500, 1500, 2], [1550, 1500, 2]]