Aller au contenu

Photo

Spawned enemy NPC stops chasing PC


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
Grani

Grani
  • Members
  • 554 messages
 I have this problem - an NPC spawned with the OnEnter script starts chasing the PC and if the PC engages in battle, everything is fine.

However, if PC tries to get away from the NPC, he soon after stops chasing him and stands still, not attacking at all, unless PC comes close.

What might cause such a behavior and what could be the solution for that? I want this NPC to chase the player until one of them is killed.

Modifié par Grani, 08 décembre 2012 - 11:28 .


#2
Grani

Grani
  • Members
  • 554 messages
No one knows what's going on?

#3
Shadooow

Shadooow
  • Members
  • 4 470 messages
this sounds like one of the AI stuck issues, is your NPC palemaster? most of these issues have been solved in CP 1.70, but I recently found another three causing this: animate dead PM feats, try 1.71beta8 or if you have it, could be specify your monster classes/feats?

#4
Grani

Grani
  • Members
  • 554 messages
My NPC is a simple commoner, level 10, I didn't change much besides giving him the skill to use simple weapons (a club) and increasing his stats a little.

#5
Shadooow

Shadooow
  • Members
  • 4 470 messages
I see... then this probably wont be a bug. Think it could be intent. Try change his class to something else with similar progression, such as animal or wizard (simple changing the class will not add any spellcasting ability)

#6
Grani

Grani
  • Members
  • 554 messages
I'll give it a try and report the results, thanks.

#7
Grani

Grani
  • Members
  • 554 messages
It worked perfectly! I simply changed his class, without the wizard, to a warrior so stats and everything remained the same and he now works perfectly fine. :)

Thanks a lot, ShaDoOoW!