+added: mist.getPathLength()
+added: mist.getPathInSegments()
+added: mist.getPointAtDistanceOnPath()
+added: mist.projectPoint()
+added: mist.utils.getHeadingPoints()
+added: mist.vec.normalize()
+added: mist.getGroupTable() Returns the verbatim table for a group as defined in the mission editor.
+added: mist.debug.writeGroup() This function is used to write a group table directly to a file of the groups name.lua. The point of this is to easily get the contents into a separate file.
+added: mist.debug.writeTypes() This function iterates through units placed in the mission file and writes to a file containing a list of object typeNames, CLSIDs, and liveries
+added: mist.shape.insideShape() Returns if the first shape is inside the second shape.
+added: mist.shape.circleInCircle()
+added: mist.shape.circleInPoly()
+added: mist.shape.polyInPoly()
+added: mist.shape.polyInCircle()
+added: mist.shape.getPointOnSegment()
+added: mist.shape.segmentInsersect()
+added: mist.mapValue()
+added: mist.utils.hexToRGB()
+added: mist.getWindBearingAndVel()
+added: mist.stringCondense()
+added: mist.debug.changeSetting()
+added: mist.debug.mark()
+added: mist.marker.add()
+added: mist.marker.getNextId()
+added: mist.marker.remove()
+added: mist.marker.get()
+added: mist.marker.drawZone()
+added: mist.marker.drawShape()
+added mist.groupIsDead()
+added better error handling messages in a number of functions
+added mist.DBs.drawingByName and mist.DBs.drawingIndexed.
Note: the above tables contains the values associated with the new drawings in the mission editor. Can be used with mist.marker.drawShape to activate a drawing shape created. There are limitations to this due to the scripting engine lacking a number of the draw features. For example rotating text, line thickness, icons, and outline types.
Note 2: The shapes created in the editor are allowed to share a name. As a result entries sharing names in mist.DBs.drawingsByName will be overwritten with whichever value was used last. All are added to mist.DBs.drawingIndexed.
-modified: properties table to zone entries in database
-modified: mist.dynAdd will now check tasks assigned in route for any beacons and will update the groupId or unitId as needed.
-modified: mist.getGroupData now has optional route boolean. If present it will also return the route. This allows the user to skip a function call.
-modified: mist.debug.dump_G now accepts a boolean value that deletes entries that I commonly delete when dumping _G.
-modified: mist.teleportToPoint
-modified: mist.respawnInZone
-modified: mist.cloneInZone
-modified: mist.teleportInZone
All four above functions now support additional parameters that can be used to alter specific behavior.
-newGroupName : forces the create group to use this name
anyTerrain : If present no terrain check is performed to verify the new position is valid
validTerrain : Customize valid terrain types for the group to spawn on
initTasks : Keep initial tasking
offsetWP1 : Offsets the initial WP the group spawns at. Will go to next WP as defined in the editor.
offsetRoute : Offsets the entire route by the new location the group spawned at.
Modified: the following functions to support static objects: getUnitsInZones, getUnitsInPolygon, getUnitsInMovingZones, and getUnitsLOS, makeUnitTable
Modified: makeUnitTable to exlude units by category.
Modified: groupRandomDistSelf and groupToRandomZone to accept optional disableRoads parameter
Fixed: DB entry for country names to use the values stored in the country table instead of the localized name within the miz. This fixes a missmatch when spawning units for the third reich
Modified: getRandPointInCircle to use a default radius of 1000m if none provided.
Optimized: any instance of trigger.misc.getZone to reference mist.DBs.zonesByName instead
= Modified mist.DBs.const.callsigns to include the new callsigns
Modified mist messages to update the display only if a change has been made. This will reduce spam in new DCS Message Log feature. It is still dependent on how often messages are updated, if you update a message for a stop watch timer then expect spam.
-fixed: typo in mist.dynAdd
-fixed: typo is mist.teleportToPoint
-fixed: bug with mist.getLeadingPos where the position appeared to be reversed from what it was expecting
-Fixed: verifyDB to check for empty string from static objects because it apparently can happen.
-Fixed: checkSpawnedEventsNew to better handle errors from dbUpdate
-Fixed: getUnitsInPolygon was erroneously checking for category 14 instead of 1
-Fixed: getUNitsInZones had an incorrectly named variable that defined an entry as nil.
+added: mist.getPathLength() +added: mist.getPathInSegments() +added: mist.getPointAtDistanceOnPath() +added: mist.projectPoint() +added: mist.utils.getHeadingPoints() +added: mist.vec.normalize() +added: mist.getGroupTable() Returns the verbatim table for a group as defined in the mission editor. +added: mist.debug.writeGroup() This function is used to write a group table directly to a file of the groups name.lua. The point of this is to easily get the contents into a separate file. +added: mist.debug.writeTypes() This function iterates through units placed in the mission file and writes to a file containing a list of object typeNames, CLSIDs, and liveries +added: mist.shape.insideShape() Returns if the first shape is inside the second shape. +added: mist.shape.circleInCircle()
+added: mist.shape.circleInPoly() +added: mist.shape.polyInPoly() +added: mist.shape.polyInCircle() +added: mist.shape.getPointOnSegment() +added: mist.shape.segmentInsersect() +added: mist.mapValue()
+added: mist.utils.hexToRGB() +added: mist.getWindBearingAndVel()
+added: mist.getUnitsByAttribute() +added: mist.getGroupsByAttribute()
+added: mist.stringCondense() +added: mist.debug.changeSetting() +added: mist.debug.mark() +added: mist.marker.add() +added: mist.marker.getNextId() +added: mist.marker.remove() +added: mist.marker.get() +added: mist.marker.drawZone() +added: mist.marker.drawShape() +added mist.groupIsDead() +added better error handling messages in a number of functions +added mist.DBs.drawingByName and mist.DBs.drawingIndexed. Note: the above tables contains the values associated with the new drawings in the mission editor. Can be used with mist.marker.drawShape to activate a drawing shape created. There are limitations to this due to the scripting engine lacking a number of the draw features. For example rotating text, line thickness, icons, and outline types. Note 2: The shapes created in the editor are allowed to share a name. As a result entries sharing names in mist.DBs.drawingsByName will be overwritten with whichever value was used last. All are added to mist.DBs.drawingIndexed.
-modified: properties table to zone entries in database -modified: mist.dynAdd will now check tasks assigned in route for any beacons and will update the groupId or unitId as needed. -modified: mist.getGroupData now has optional route boolean. If present it will also return the route. This allows the user to skip a function call. -modified: mist.debug.dump_G now accepts a boolean value that deletes entries that I commonly delete when dumping _G. -modified: mist.teleportToPoint -modified: mist.respawnInZone -modified: mist.cloneInZone -modified: mist.teleportInZone All four above functions now support additional parameters that can be used to alter specific behavior. -newGroupName : forces the create group to use this name