Aller au contenu

Photo

NPCs to attack placeables?


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Aesthral

Aesthral
  • Members
  • 23 messages
Hello!

I would like to know if there's an easy way to make NPCs (e.g. commoners) to attack enemy placeables the same way they do with enemies. I think it would be about modifying:
nw_c2_default2 (default On Perceive)
nw_c2_default3 (default End of Combat Round)
hench_i0_ai
hench_oO_ai

However this seems quite a task since those scripts look quite complex...

Therefore, is there any easier way to archive this?

Thanks!!!

#2
Morbane

Morbane
  • Members
  • 1 883 messages
google "user defined scripting"

the last row in creature (NPC) template for behavioural scripts is the "user defined"

i think if you right click in the scripts window/box you get the option of creating a script - i think there are templates for UD scripts in there to give you a basic look at what the google search might reveal.

Modifié par Morbane, 14 octobre 2013 - 02:53 .