GetLocalSensorDir
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | GetLocalSensorDir | |
| Function Description: | Returns the local vector direction for a specific units sensor | |
| File Location: | cmm.DCSFunctions.lua | |
| Syntax: | CMM.GetLocalSensorDir( table sensorState ) | |
| Return Value: | table or nil | |
| Parameters: | Name | Description |
| sensorState | The specific unit you want to get the sensor point of interest from. | |
| Example: | CMM.GetLocalSensorDir(<sensorStateTABLE>) | |
| Example Description: | Will return the local vector direction of the sensor system based on the heading and pitch of the sensor system for the unit, this is used in CMM.GetSensorPoint to calculate the ground intercept point of the sensor system. | |
| Related Functions: | ||
| Notes: | ||