MIST getRoll

From DCS World Wiki - Hoggitworld.com
Revision as of 22:59, 13 April 2018 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


mist.getRoll

Added with: Mist 1.0
Description
Returns the value of the specified unit roll in radians
Syntax
number mist.getRoll(Unit unit )
Valid Input Values:
unit = Unit Object
Return value:
number
Return example:
0.17
Usage Examples:

do

local myUnit = Unit.getByName('unitsName')
local roll = mist.getRoll(myUnit)

end

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

Scripting Engine

MIST Root Page