From 56d84e7b25443e182aad8af1fb53eea3c21b9b5d Mon Sep 17 00:00:00 2001 From: Thomas <72444570+Applevangelist@users.noreply.github.com> Date: Sun, 25 Aug 2024 11:22:30 +0200 Subject: [PATCH] Update Utils.lua Small fix --- Moose Development/Moose/Utilities/Utils.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Moose Development/Moose/Utilities/Utils.lua b/Moose Development/Moose/Utilities/Utils.lua index 9c0e6b723..5e4033223 100644 --- a/Moose Development/Moose/Utilities/Utils.lua +++ b/Moose Development/Moose/Utilities/Utils.lua @@ -4147,7 +4147,7 @@ function UTILS.SpawnFARPAndFunctionalStatics(Name,Coordinate,FARPType,Coalition, local farpobcount = 0 for _name,_object in pairs(FARPStaticObjectsNato) do - local objloc = farplocation:Translate(100,farpobcount*30) + local objloc = farplocation:Translate(radius,farpobcount*30) local heading = objloc:HeadingTo(farplocation) local newobject = SPAWNSTATIC:NewFromType(_object.TypeName,_object.Category,Country) newobject:InitShape(_object.ShapeName) @@ -4159,7 +4159,7 @@ function UTILS.SpawnFARPAndFunctionalStatics(Name,Coordinate,FARPType,Coalition, -- Vehicle if any if VehicleTemplate and type(VehicleTemplate) == "string" then - local vcoordinate = farplocation:Translate(100,farpobcount*30) + local vcoordinate = farplocation:Translate(radius,farpobcount*30) local heading = vcoordinate:HeadingTo(farplocation) local vehicles = SPAWN:NewWithAlias(VehicleTemplate,"FARP Vehicles - "..Name) vehicles:InitGroupHeading(heading)