Jump to content

Turrets targeting guards

Can't Reproduce 1.0.2

I tried reaching out on Discord, but your DM's are locked to only friends. Didn't want to bother you here with what is a small edge issue. 
 

I run a PVE server where I have truepve setup to allow player turrets to target NPC's, and if I manually start up the event the turrets that spawn take out all the guards of the event.

I haven't tested to see if this still happens if I reapply the flag turretsignorescientists, but I am assuming since you hadn't noticed it and that it is default config, the problem is likely due to this different setup.

Hopefully that makes sense. Let me know if this is an easy fix or if you think its something else entirely!

Share this comment


Link to comment

The plugin prevents turrets from targeting NPCs by relying on a hook named OnTurretTarget. It returns false if the entity is an npc and it's coming from an event turret. If another plugin is returning a conflicting value when that hook is called, it is most likely causing the issue. Usually it will tell you in the console if conflicting values are being returned. Please let me know if you see anything in the console output around this. Also please test swapping that flag to default and see if the still issue occurs. thanks!

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.8k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.