GetSensorPoint
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | GetSensorPoint | |
| Function Description: | Returns the location a specific Units Sensor is looking at on the ground. | |
| File Location: | cmm.DCSFunctions.lua | |
| Syntax: | CMM.GetSensorPoint( table Aircraft ) | |
| Return Value: | table or nil | |
| Parameters: | Name | Description |
| Aircraft | The specific unit you want to get the sensor point of interest from. | |
| Example: | CMM.GetSensorPoint(Unit.getByName("MyKiowa")) | |
| Example Description: | This will return the ground intercept point of the Kiowa's sensor system as a vec3 table. | |
| Related Functions: | ||
| Notes: | ||