mrSkortch / MissionScriptingTools

Mission Scripting Tools for Digital Combat Simulator
GNU General Public License v3.0
190 stars 42 forks source link

Long overdue PR #55

Closed mrSkortch closed 4 years ago

mrSkortch commented 4 years ago

Made long overdue merges from develop branch to master.

added mist.utils.getQFE. Values returned have some error, need to figure it out, but added it for testing purposes.

Added 2 extra values to mist.getRandPointInCircle to specify a min and max angle in degrees. Funtion currently assumes both are positive numbers. Need to add extra checks to it.

added mist.getRandomPointInPoly. Returns a random vec2 coordinate inside a polyzone

Added checks to getLeadPos related functions to ensure the lead unit is returned if it exists.

Temperature Conversions added. -Kelvin to Celcius -Celcius to Farhenheit -Farhenheit to Celcius