Set up sniper for monuments?
Is there anyway to set up a sniper that would basically set on a tower and shoot anything that comes say within 125 meters? like to get it to detect players within that range and continue to attak them without leaving the tower? Trying to setup a group of npc at all the monuments. I tied botspawn but it never respawns the npcs after server reset or if anyone kills them. I find this plug in to be much more reliable and would like to setup snipers that don't really move from thier towers but will attack players. I have tried every combination of settings, but he either moves oof the tower to attack or will shoot 1 time thn just stance there and wait to be killed. I would appreciate any suggestions?
Have almost the same issue here. I would like to "make a sniper" but it seems they just don't snipe at all!
Here my config:

     "invulnerability": false,
      "health": 150.0,
      "respawn": true,
      "respawnSeconds": 43200.0,
      "spawnInfo": {
        "position": "1779.526 7.207274 -365.548",
        "rotation": "0.3227974 0.6646094 -0.3907834 0.5489849"
      },
      "waypoint": null,
      "collisionRadius": 200.0,
      "spawnkit": "snowboss",
      "damageAmount": 15.0,
      "damageDistance": 20.0,
      "damageInterval": 1.0,
      "attackDistance": 100.0,
      "maxDistance": 100.0,
      "minstrel": null,
      "hostile": true,
      "speed": 3.0,
      "stopandtalk": true,
      "stopandtalkSeconds": 3.0,
      "enable": true,
      "lootable": true,
      "hitchance": 0.75,
      "reloadDuration": 0.5,
      "needsAmmo": false,
      "defend": true,
      "message_hello": null,
      "message_bye": [
        "blah!",
        "blah!",
        "blah!",
        "blah!"
      ],
      "message_use": null,
      "message_hurt": [
        "blah!",
        "blah!",
        "blah!",
        "blah!"
      ],
      "message_kill": null,
      "protections": {
        "Generic": 0.0,
        "Hunger": 0.0,
        "Thirst": 0.0,
        "Cold": 0.0,
        "Drowned": 0.0,
        "Heat": 0.0,
        "Bleeding": 0.0,
        "Poison": 0.0,
        "Suicide": 0.0,
        "Bullet": 0.0,
        "Slash": 0.0,
        "Blunt": 0.0,
        "Fall": 0.0,
        "Radiation": 0.0,
        "Bite": 0.0,
        "Stab": 0.0,
        "Explosion": 0.0,
        "RadiationExposure": 0.0,
        "ColdExposure": 0.0,
        "Decay": 0.0,
        "ElectricShock": 0.0,
        "Arrow": 0.0,
        "AntiVehicle": 0.0
      }
    },​
Attacking from a distance should work now.  If hostile they should attack once you are in range.  I have more testing to do but at least they don't wait until they are right in your face now.
Thank you very much! I'm going to test them ASAP! :-) Very good news indeed!
5ba5bf1da6b60.jpg rfc1920
Attacking from a distance should work now.  If hostile they should attack once you are in range.  I have more testing to do but at least they don't wait until they are right in your face now.

same shot follow

Yes, some reversion of some kind.
5ba5bf1da6b60.jpg rfc1920
Yes, some reversion of some kind.

wait i create movie

5ba5bf1da6b60.jpg rfc1920
Yes, some reversion of some kind.

send dm message!

5ba5bf1da6b60.jpg rfc1920
Attacking from a distance should work now.  If hostile they should attack once you are in range.  I have more testing to do but at least they don't wait until they are right in your face now.

So far I can confirm those two settings works perfectly.
The bot seems a little bit... Hesitant at first but after a couple of seconds has attacked me from the distance I set in the *.json file and chased me, just like I set.

I used a bow and a compound bow without problems. It seems, though, that the crossbow do not work: it doesn't shoot arrows, they seem to fall on the ground and disappear.

Not sure if it is my issue or what, I think you want to know that. :-)
Part of the hesitation was probably it being too resource hungry.  Hopefully better now.

In close proximity, fire the gun.
The gun uses AK, LR.

{
      "userid": 161277556,
      "displayName": "장광남",
      "invulnerability": false,
      "health": 9999999.0,
      "respawn": true,
      "respawnSeconds": 60.0,
      "spawnInfo": {
        "position": "-787.2777 58.62907 -567.7276",
        "rotation": "0.09971499 0.6407111 -0.08444366 0.7565814"
      },
      "waypoint": null,
      "collisionRadius": 10.0,
      "spawnkit": "백사",
      "damageAmount": 3.0,
      "damageDistance": 30.0,
      "damageInterval": 2.0,
      "attackDistance": 100.0,
      "maxDistance": 200.0,
      "hostile": false,
      "speed": 3.0,
      "stopandtalk": true,
      "stopandtalkSeconds": 3.0,
      "enable": true,
      "lootable": true,
      "hitchance": 0.75,
      "reloadDuration": 0.0,
      "needsAmmo": false,
      "defend": false,
      "message_hello": null,
      "message_bye": null,
      "message_use": null,
      "message_hurt": null,
      "message_kill": null,
      "protections": {
        "Generic": 0.9,
        "Hunger": 1.0,
        "Thirst": 0.0,
        "Cold": 1.0,
        "Drowned": 0.0,
        "Heat": 1.0,
        "Bleeding": 0.5,
        "Poison": 0.0,
        "Suicide": 0.0,
        "Bullet": 0.9,
        "Slash": 0.9,
        "Blunt": 0.0,
        "Fall": 0.9,
        "Radiation": 1.0,
        "Bite": 1.0,
        "Stab": 0.9,
        "Explosion": 0.9,
        "RadiationExposure": 0.0,
        "ColdExposure": 0.0,
        "Decay": 0.9,
        "ElectricShock": 0.9,
        "Arrow": 0.9,
        "AntiVehicle": 0.9
      }
    }
There have been a few updates in the last few days.  Please verify that you are using the latest version.
5ba5bf1da6b60.jpg rfc1920
There have been a few updates in the last few days.  Please verify that you are using the latest version.

works!

npc don't shot 

Does the NPC have a gun?  Also, you say works! and then npc don't shot...
5ba5bf1da6b60.jpg rfc1920
Does the NPC have a gun?  Also, you say works! and then npc don't shot...

sorry edit xD

working!