mirror of
https://github.com/mrSkortch/MissionScriptingTools.git
synced 2025-08-15 10:47:23 +00:00
Adding route name fetch to getGroupRoute()
This commit is contained in:
parent
40a186c71d
commit
cef20958d8
5
mist.lua
5
mist.lua
@ -6395,6 +6395,11 @@ do -- group tasks scope
|
||||
|
||||
for point_num, point in pairs(group_data.route.points) do
|
||||
local routeData = {}
|
||||
if env.mission.version > 7 then
|
||||
routeData.name = env.getValueDictByKey(point.name)
|
||||
else
|
||||
routeData.name = point.name
|
||||
end
|
||||
if not point.point then
|
||||
routeData.x = point.x
|
||||
routeData.y = point.y
|
||||
|
||||
@ -6395,6 +6395,11 @@ do -- group tasks scope
|
||||
|
||||
for point_num, point in pairs(group_data.route.points) do
|
||||
local routeData = {}
|
||||
if env.mission.version > 7 then
|
||||
routeData.name = env.getValueDictByKey(point.name)
|
||||
else
|
||||
routeData.name = point.name
|
||||
end
|
||||
if not point.point then
|
||||
routeData.x = point.x
|
||||
routeData.y = point.y
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user