Hi,
just tested
The auto turret will no longer target players or some NPCs in safe zones
Dont work. Target and shoot players.
Turrets to playersSolved
Works for me. Can you be more specific with the steps you took to encounter this problem?
Here are the only reasons I can see that this could happen.
- The target player was considered hostile.
- The target player was outside the safe zone (even if the turret was inside the safe zone).
- You set
"Add auto turret to heli": falsein the config after the turret spawned (or maybe a different plugin spawned the turret).
No sorry, nothing of these points. Updated and reloaded this. Set turret on heli true. Standing on an island far away from safe zones and no hostile.
The other plugin that use turrets i have installed is raidable bases, custom vehicle modules, water event.
In truepve i have this entry
{
"name": "traps",
"members": "AutoTurret, BearTrap, FlameTurret, Landmine, GunTrap, ReactiveTarget, TeslaCoil, spikes.floor",
"exclusions": ""
},
You are not near a safe zone? Then of course the player is targeted. The update says this only applies in safe zones.
The original issue is that if MiniCopterOptions was used to spawn the auto turret on the mini, the turret would target other players at bandit camp and outpost. The players couldn't be killed, but the turret would waste ammo and be annoying. This update fixes that by making the turret no longer target players in safe zones. Outside safe zones, the turret will still target players.
Oh, understand. Thought "in safe zones" only refers to npc. I am sorry! Too bad, would be great when players completly excluded perhaps as option.
I'll consider that as a feature request for the future, since I'm planning to implement a similar feature for other plugins like Car Turrets and Drone Turrets.
Sounds good, thank you and good luck. Btw. i installed the free plugin pveturrets and it works perfect with own build turrets at the base. But no effect to turrets that are spawned by minicopteroptions and custom modules. Perhaps it is an option to implement this in pveturrets as a faster and easier way. Only an idea :)