Skwizzy / SPT-LootingBots

AI Looting mod for Singleplayer Tarkov
https://hub.sp-tarkov.com/files/file/1096-looting-bots/#overview
30 stars 10 forks source link

When a bot is interrupted looting and runs extremely far away, bots still try and loot the same container regardless of distance #67

Closed Skwizzy closed 1 year ago

Skwizzy commented 1 year ago

Bots that run away while looting or navigating to loot will always attempt to return to the same loot when they return to the looting layer. Its rare, but I have seen bots with distance to loot of 300+ meters even though my loot detection radius is set to 150m. Bots need to perform an initial distance check when attempting to enter the layer and clear their active lootable if its farther than the detection radius + 75m

Skwizzy commented 1 year ago

This should be fixed now that their target loot is being forgotten once the looting layer has been interrupted. Bots will attempt to scan for the nearest loot again once returning to the looting layer.