MIST getMGRSString

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


mist.getMGRSString

Added with: Mist 3.0
Description
Returns a string of the average position of units defined by a UnitNameTable in the MGRS format to the specified accuracy.
Syntax
string mist.getMGRSString(table vars )
Valid Input Values:

vars tables have the following recognized fields( required entries in blue, optional in green):

 vars = 
 {
 units = UnitNameTable units, 
 acc = number acc,
 
 }

units is a UnitNameTable- a table of unit names that follow a special set of rules (see the entry on UnitNameTables).

acc is the accuracy of the coordinate. Valid entries are 0 through 5.

Return value:
string
Return example:
TBD
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