Jump to content

Peace Keeper vs Attacking

Pending 1.5.5

Molar
Molar

Posted

Hi,

I'm having issues figuring out how to set my bots so they ALWAYS attack when I'm 100 meters or closer for example but if I shoot them from any distance they will become hostile. I have a bot set to Aggro Range 100, DeAggro Range 100, Immune from damage beyond 100 and Peace Keeper set to ON but when I walk near them they don't soot unless I set Peace Keeper OFF. This plugin should have an option so the bots attack if you attack them from any distance and they also attack from certain distance!! Am I doing something wrong or the plugin simply doesn't have the ability to do what I want?

  • Administrator
Steenamaroo

Posted

Hi,
Do you mean that you want instant attack from npcs when you're within 100 meters,
and no attacking at all if you're beyond that, even if you shoot them first?

This is achievable, although with a ceveat.

Setting peacekeeper to false and AggroRange to 100 will ensure that npcs attack you immediately if you come within 100 distance of them.
You should set DeAggro range to the same, as you described, so that they let go of you if you escape.

There is a memory duration, though (the caveat) so they won't just instantly forget you if you step outside of 100 distance.
Players would exploit that.
You may want to just turn it down - I'd suggest maybe 5 seconds or something.

 

Ordinarily npcs will disregard aggro range if they are injured by a shot,
but setting Immune_From_Damage_Beyond to 100 will ensure that they don't.

The combination of those things should achieve what you're looking for.
If I've misunderstood, please just let me know. 

 

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.6m
Total downloads
Customers
11.5k
Customers served
Files Sold
163.7k
Total sales
Payments
3.5m
Processed total
×
×
  • 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.