GetSceneryObjects
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | GetSceneryObjects | |
| Function Description: | Scans an area of SceneryObjects from a specified point and radius | |
| File Location: | cmm.DCSFunctions.lua | |
| Syntax: | CMM.GetSceneryObjects( table vec3 , number radius ) | |
| Return Value: | table or nil | |
| Parameters: | Name | Description |
| vec3 | vec3 style table | |
| radius | Radius number | |
| Example: | CMM.GetSceneryObjects({x= -5876.3718701885, y= 82.957648265182, z= 253040.25411956}, 1000) | |
| Example Description: | Returns a list of Scenery Objects within 1000m of the point provided. | |
| Related Functions: | ||
| Notes: | ||