mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Updates and fixes
- Replaced range test for unit to range test for players. - Ensure that players database is properly populated. - Fixed some documentation. - Removed smoke from trigger. - Fixed name of RandomPointVec2 to RandomVec2 and fixed in all usages.
This commit is contained in:
@@ -1451,7 +1451,7 @@ function GROUP:TaskLandAtZone( Zone, Duration, RandomPoint )
|
||||
|
||||
local Point
|
||||
if RandomPoint then
|
||||
Point = Zone:GetRandomPointVec2()
|
||||
Point = Zone:GetRandomVec2()
|
||||
else
|
||||
Point = Zone:GetPointVec2()
|
||||
end
|
||||
@@ -2207,7 +2207,7 @@ function GROUP:TaskRouteToZone( Zone, Randomize, Speed, Formation )
|
||||
local ZonePoint
|
||||
|
||||
if Randomize then
|
||||
ZonePoint = Zone:GetRandomPointVec2()
|
||||
ZonePoint = Zone:GetRandomVec2()
|
||||
else
|
||||
ZonePoint = Zone:GetPointVec2()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user