HostileTowardsArmed does not seem to workSolved
I have "hostileTowardsArmed" set to true but the only way to get the NPC to attack is if I shoot them.
Is there something I'm doing wrong in my config?
Thanks for the help in advance!

    {
      "userid": 128755367,
      "displayName": "Survivor Guard",
      "invulnerability": true,
      "health": 250.0,
      "respawn": true,
      "respawnSeconds": 5.0,
      "spawnInfo": {
        "position": "-429.1477 19.51301 -831.0797",
        "rotation": "0.02873404 -0.7100095 -0.02902026 -0.7030069"
      },
      "waypoint": null,
      "collisionRadius": 10.0,
      "spawnkit": "survivor_rifle_sar",
      "damageAmount": 10.0,
      "damageDistance": 3.0,
      "damageInterval": 0.3,
      "attackDistance": 100.0,
      "maxDistance": 200.0,
      "hostile": false,
      "ahostile": false,
      "speed": 5.0,
      "stopandtalk": true,
      "stopandtalkSeconds": 3.0,
      "enable": true,
      "persistent": true,
      "lootable": false,
      "hitchance": 0.75,
      "reloadDuration": 2.0,
      "needsAmmo": false,
      "dropWeapon": false,
      "defend": true,
      "evade": false,
      "follow": true,
      "followtime": 30.0,
      "evdist": 0.0,
      "allowsit": false,
      "allowride": false,
      "band": 0.0,
      "message_hello": [
        "Welcome to The Gauntlet, Survivor.",
        "Careful. I'm watching you...",
        "Head on inside and take a load off."
      ],
      "message_bye": [
        "Have a good one!",
        "Survivor Resistance FOREVER!!"
      ],
      "message_use": [
        "Hey! Watch where you point that...",
        "Hellooo!"
      ],
      "message_hurt": [
        "You're gonna pay for that!",
        "Let's get 'em boysss!"
      ],
      "message_kill": [
        "TRAITOR!",
        "Mommy...",
        "Commander Tannis will hear about this..."
      ],
      "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,
        "Collision": 0.0,
        "Fun_Water": 0.0
      },
      "hostileTowardsArmed": true,
      "hostileTowardsArmedHard": false,
      "raiseAlarm": true,
      "message_armed": [
        "Better keep that weapon stowed away..."
      ],
      "message_alarm": [
        "We got a wild one!"
      ],
      "instrument": null
    }​
Please disregard. I had used a different version of Human NPC in the past and this variable was remaining in the config.
Locked automatically