MIST getAttitude

From DCS World Wiki - Hoggitworld.com


mist.getAttitude

Added with: Mist 1.0
Description
Returns a table of Heading, Pitch, Roll, Yaw, Angle of Attack, and Climb Angle of the specified unit. (see the code for mist.demos.printFlightData for a usage example).
Syntax
table mist.getAttitude(Unit unit )
Valid Input Values:
unit = Unit Object
Return value:
table
Return example:
tableexample
Usage Examples:

do

local myUnit = Unit.getByName('unitsName')
local attitude= mist.getAttitude(myUnit)

end

Notes:
Related Functions
getHeading, getNorthCorrection, getAttitude, getPitch, getRoll, getYaw, getAoA, getClimbAngle, getDir

Scripting Engine

MIST Root Page