Jump to content

GetLocalSensorVector

From CMM Wiki
Revision as of 12:26, 24 June 2026 by Ozdeadmeat (talk | contribs) (GetLocalSensorVector – created via PowerShell script (2026-06-24T22:26:47Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: