I tried poking around.
Normal:
local item = GenerateTurretTemplate(random():createSeed(), weapontype, dps, tech, rarity, material)
I want independent targeting:
local item = GenerateTurretTemplate(random():createSeed(), weapontype, dps, tech, rarity, material)
item.automatic = true
I want independent targeting and guided for rocket launcher:
local item = GenerateTurretTemplate(random():createSeed(), weapontype, dps, tech, rarity, material)
item.automatic = true
local weapons = {item:getWeapons()}
item:clearWeapons()
for _, weapon in pairs(weapons) do
weapon["seeker"] = true
item:addWeapon(weapon)
end
Probably need to be in a script.