Jump to content

How can I make a NPC hostile to an NPC with a specific keyword?


seekingthesun

Recommended Posts

I want to make a NPC hostile to another given that they have a keyword but I don't know how to go about this.
What i'd like to do is approximately what the following pseudocode is about

JimBobREF.setenemy(haskeyword "enemy of JimBob")

Or a script that could do the following pseudocode

GetHasKeyword
Enemy of Jim Bob
Function: Add to faction(custom enemyofjimbobFaction)

If not, can anyone think of an existing quest that has similar functionality?

Essentially I want to set a known NPC hostile to any spawned, procedurally generated NPCs as soon as they have the enemy keyword added to them

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...