seekingthesun Posted May 12, 2016 Share Posted May 12, 2016 I've tried adding the NPC to a faction that hates another faction but I'm having trouble linking the TARGETFACTION to the keyword. How could I apply that keyword to specific targets? Link to comment Share on other sites More sharing options...
seekingthesun Posted May 13, 2016 Author Share Posted May 13, 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 GetHasKeywordEnemy of Jim BobFunction: 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 More sharing options...
Recommended Posts