StaticTurretsIgnorePlayersSolved

sorry, but i think its dont work.. i added this flag, but turrets shooting and kill to me

oh, sorry, with this flag theyre dont damage me, but shooting..

that's not a flag

TurretsIgnorePlayers

static exists for samsites only, not turrets

StaticSamSitesIgnorePlayers is for static SAM sites at monuments like Launch Site.

PlayerSamSitesIgnorePlayers is for SAM sites that are deployed and used by players

hmm, judging by the description of the flag :) anyway, I still have the flags as they were, while when unloading / loading the old version plugin, the turrets stop firing, but with the updated plugin one they either shoot and deal damage, or shoot without damage, check it out please, blank firing looks weird, extra load on the client, thanks

  • Added flag `StaticTurretsIgnorePlayers` - TurretsIgnorePlayers will no longer prevent static turrets from targeting unless this flag is added (monuments with turrets can now hurt players)
  • Updated StaticSamSitesIgnorePlayers and PlayerSamSitesIgnorePlayers to ignore mountables not mounted by a player

right! I did add it lol

it's not for npc auto turrets typically found in safe zones. it is for normal turrets that were added to monuments by map makers. OwnerID must also be 0 (ent who)

  • Fixed npc auto turrets being unable to target players
you can delete this code if you want to revert the above fix and have it work for npc auto turrets:
entity is NPCAutoTurret ||​

actually I didn't encounter the above issue which you fixed. I created this topic so that the turrets in the safe zone will not shoot at players, even if they have a red mark (killer), as it was before the update, you know?:) thanks :)

remove the current code and it will function as the last update did if you use the StaticTurretsIgnorePlayers flag after removing the code

entity is NPCAutoTurret ||​

im so sorry, its working, thanks a lot <3 

no problem

Locked automatically