- Improved transport path
This commit is contained in:
Frank
2021-11-07 16:03:44 +01:00
parent 7a2508bf17
commit fb4caf1a42
5 changed files with 136 additions and 93 deletions

View File

@@ -750,7 +750,7 @@ routines.groupRandomDistSelf = function(gpData, dist, form, heading, speed)
local pos = routines.getLeadPos(gpData)
local fakeZone = {}
fakeZone.radius = dist or math.random(300, 1000)
fakeZone.point = {x = pos.x, y, pos.y, z = pos.z}
fakeZone.point = {x = pos.x, y = pos.y, z = pos.z}
routines.groupToRandomZone(gpData, fakeZone, form, heading, speed)
return