Jump to content

Why doesn't Better Npc attack ZombieHorde?

Closed 1.1.8

ErMonito
ErMonito

Posted

Config:

ZombieHorde.json

"Can be targeted by other NPCs": true,

"Can target other NPCs": true,

"Can target other NPCs that attack zombies": true,

"Can target NPCs from HumanNPC": true

The ZombieHorde do attack the Better Npc but not the other way around.

How can I make the Better Npc attack the ZombieHorde?.

KpucTaJl

Posted

Hi, by default, NPCs can't attack other NPCs, but I've made it possible for anyone who wants this to happen. If you need Npcs to be able to fight with other Npcs, then set the value of CanTargetOtherNpc inside the plugin NpcSpawn to true

ErMonito

Posted

Do you mean to change line 1670 to true?

internal bool CanTargetOtherNpc = false;

internal bool CanTargetOtherNpc = true;

So?

Jbird

Posted

Correct @ErMonitoyou will change that line to true like you've done as an example.

Reload the plugin and you will be good to go.

Jbird

Posted

Absolutely, any time @ErMonito especially easy fixes like that!

KpucTaJl

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.