Jump to content
  • 0

NPC Conditions


Ainz Ooal Gown

Question

Ive been messing around with the NPCs Conditions to make a guard based on an alignment system. But for some reason when I set the conditions for "Player Friend/Protector" (even just say its set to player level => 0 to test) and an NPC attacks the player the guard NPC just flashes between "Green" and "Red" title and does not come to the players rescue :P

 

Aggressive is not ticked.

Tried multiple different conditions with same outcome (flashes between "Green" and "Red" title).

 

Can anyone point me in the right direction, it has to be something stupid I'm missing / doing lol

 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
1 minute ago, jcsnider said:

In the Npc vs Npc box is the guard allowed to fight whatever is hurting the player?

Ah so I have to put all NPCs that the Guard NPC is allowed to fight back against? I will give that a try now!

 

Knew it would of been something stupid I was doing :P

 

Thanks for swift reply as per JC

Link to comment
Share on other sites

  • 0
43 minutes ago, jcsnider said:

In the Npc vs Npc box is the guard allowed to fight whatever is hurting the player?

 

Hmm still dont seem to work for me for some reason.

 

What I have done:

  1. NPC Guard created with basic stats
  2. Added Condition:
    1. Player Friend/Protector = Player Level => 0
  3. Set NPC vs NPC Combat/Hostility:
    1. Added a test bad guy NPC

Still guard NPC flashes and does not attack hostile.

 

Will it make a difference if the NPC was spawned in via an event?

Link to comment
Share on other sites

  • 0
8 minutes ago, jcsnider said:

Shoudln't make a difference.

 

Can you post screenshots of the configs of both npcs? I'll see if anything sticks out, or if I need to try to recreate and classify this as a bug.

 

Thanks Buddy


Here is the Guard (Defender):

Spoiler

 

bc33a7f2e9a92f4312aae541b865d58f.png

 

Guards Hostility:

b699ae85baf2c6f1ae2b4bce2f0b7eb6.png

Both the Orc Grunts are separate NPCs just named the same, but different sprites. But the Guard doesn't defend against any of the above NPCs

 

 

This is the NPC (Aggressor)

Spoiler

 

e2f41d7aebdc96cbced643650523d02c.png

121ede4ae65c807b8ef8f424b04623bc.png

 

Link to comment
Share on other sites

  • 0
6 minutes ago, jcsnider said:

Try checking the NPC vs NPC enabled box on the grunt.  If that doesn't work try also including the guard on it's list.  I'm sorta guessing right now, I can't recall all of the logic off the top of my head.

That was it!! Nice one mate! Didn't think about that! :D

 

Setting NPC vs NPC on the aggressor NPC allowed the Guard to attack it. 

 

Thanks again buddy

Link to comment
Share on other sites

×
×
  • Create New...