Hi Razor,
I recently set up a basic NPC as a target for part of a quest. I _think_ I've set the parameters correctly (invulnerable is false, health is low), but when I attack the NPC, I am unable to kill it. Here's the code for that NPC in the NpcData.json.
What am I missing?
FM
{
"userid": 6930706432,
"displayName": "Moondog",
"invulnerability": false,
"health": 5.0,
"respawn": true,
"respawnSeconds": 300.0,
"spawnInfo": {
"position": "305.9228 3.335485 1281.291",
"rotation": "0.002471028 -0.9870027 -0.01524702 -0.1599598"
},
"waypoint": null,
"collisionRadius": 10.0,
"spawnkit": "npc-moondog",
"damageAmount": 10.0,
"damageDistance": 3.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": true,
"evade": false,
"follow": true,
"evdist": 0.0,
"allowsit": false,
"musician": null,
"playTune": false,
"SoundOnEnter": false,
"SoundOnUse": false,
"band": 0.0,
"permission": "",
"Sound": "",
"message_hello": [
"It's about time you guys got here, I need help carrying my luggage!"
],
"message_bye": [
"You know I'm a bottom-feeder, baby. I gotta go low to get high."
],
"message_use": null,
"message_hurt": null,
"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,
"Collision": 0.0,
"Fun_Water": 0.0
}
}