Daily update.

This commit is contained in:
2024-12-30 20:35:34 +08:00
parent 5e2510c169
commit f3efdf3c31
+21 -11
View File
@@ -37,24 +37,34 @@ do
local sectionName = '-Urban-'..j local sectionName = '-Urban-'..j
points = Utils.getWayPoints(zoneGroupName..sectionName) points = Utils.getWayPoints(zoneGroupName..sectionName)
if points then if not points then
Range.drawPolygon(points) break
trigger.action.textToAll(-1,Utils.getMarkID(),Utils.makeVec3(points[1]),{1,1,1,1},{0,0,0,0},8,false,sectionName)
end end
sectionName = '-Tree-'..j Range.drawPolygon(points)
trigger.action.textToAll(-1,Utils.getMarkID(),Utils.makeVec3(points[1]),{1,1,1,1},{0,0,0,0},8,false,sectionName)
end
for j=1,100,1 do
local sectionName = '-Tree-'..j
points = Utils.getWayPoints(zoneGroupName..sectionName) points = Utils.getWayPoints(zoneGroupName..sectionName)
if points then if not points then
Range.drawPolygon(points) break
trigger.action.textToAll(-1,Utils.getMarkID(),Utils.makeVec3(points[1]),{1,1,1,1},{0,0,0,0},8,false,sectionName)
end end
sectionName = '-Open-'..j Range.drawPolygon(points)
trigger.action.textToAll(-1,Utils.getMarkID(),Utils.makeVec3(points[1]),{1,1,1,1},{0,0,0,0},8,false,sectionName)
end
for j=1,100,1 do
local sectionName = '-Open-'..j
points = Utils.getWayPoints(zoneGroupName..sectionName) points = Utils.getWayPoints(zoneGroupName..sectionName)
if points then if not points then
Range.drawPolygon(points) break
trigger.action.textToAll(-1,Utils.getMarkID(),Utils.makeVec3(points[1]),{1,1,1,1},{0,0,0,0},8,false,sectionName)
end end
Range.drawPolygon(points)
trigger.action.textToAll(-1,Utils.getMarkID(),Utils.makeVec3(points[1]),{1,1,1,1},{0,0,0,0},8,false,sectionName)
end end
end end