Difference between revisions of "MIST tostringBR"

From DCS World Wiki - Hoggitworld.com
(No difference)

Revision as of 23:07, 13 April 2018


mist.toStringBR

Added with: Mist 2.0
Description
Returns a string of the Bearing Range and Altitude (BRA) based on the inputed variables. The number az defines the bearing in radians. Range is defined by dist. Altitude is defined by the alt. If metric is not present the function will assume all values are in imperial units and will return the Range and Altitude in Nautical Miles and Feet. If metric is present the metric system will be used for these values.
Syntax
string mist.toStringBR(number az ,number dist ,number alt , boolean metric )
Valid Input Values:
az = heading in radians

dist is distance to target in meters alt is altitude of target in meters metric is a boolean value that if present will return the string in the metric system. If not present it returns in Nautical Miles for distance and feet for altitude

Return value:
string
Return example:
Usage Examples:

do

 TBD

end

Notes:
Related Functions
tostringMGRS, tostringLL, tostringBR, getMGRSString, getLLString, getBRString, getLeadingPos, getLeadingMGRSString, getLeadingLLString, getLeadingBRString, getMilString, getClockString, getDateString, stringMatch, stringCondense

Scripting Engine

MIST Root Page