seekingthesun Posted May 12, 2016 Posted May 12, 2016 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
Recommended Posts