Jump to content

GetLocalSensorVector

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: GetLocalSensorVector
Function Description: Returns the local vector for a specific units sensor
File Location: cmm.DCSFunctions.lua
Syntax: CMM.GetLocalSensorVector( 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.GetLocalSensorVector(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: