Difference between revisions of "MIST markerGet"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Mission Scripting |fName= mist.marker.get| |vNum = Mist 4.5 |desc= Returns a mark or a table of marks. If the mark was added via mist.marker.add the table will be in a mu...")
 
(No difference)

Latest revision as of 07:54, 23 August 2021


mist.marker.get

Added with: Mist 4.5
Description
Returns a mark or a table of marks. If the mark was added via mist.marker.add the table will be in a much different format. Otherwise it will return the values passed in via the scripting engine event handler.


If passed a string value the format will be a table indexed numerically. If there are multiple entries with a shared name then all entries will be returned.

Syntax
number mist.marker.get(number/string markId/markName )
Valid Input Values:
Return value:
number
Return example:
Usage Examples:
The following would return a table of marks with the same name
  local val = mist.marker.get('NTTRstripClubs')
Notes:
Related Functions
markerAdd, drawShape, drawZone, remove, getNextID, markerGet, setDefault

Scripting Engine

MIST Root Page