Jump to content

GetSensorPoint

From CMM Wiki
Return to CMM Command Reference
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
AircraftThe 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: