Ducksaws Posted August 26, 2015 Share Posted August 26, 2015 So I have some NPCs standing around in a room. I want them to kind of be the final boss to a situation. The problem is the player will probably be fighting people right outside the door to that room. Then when you open that door, the boss NPCs all freak out and run away because of the fighting (they are not hostile at this point because dialogue determines whether or not there is a fight). I would like the NPCs to just stand in their room and not care if there is combat going on, not matter what, unless they themselves are attacked. How can I do this? Link to comment Share on other sites More sharing options...
Deleted11272243User Posted August 26, 2015 Share Posted August 26, 2015 I think that happens because those npcs are affiliated to the faction, try to set those npcs in the AI data to ''Helps Nobody" Link to comment Share on other sites More sharing options...
Ducksaws Posted August 26, 2015 Author Share Posted August 26, 2015 They aren't affiliated with the faction, and they aren't helping them. They're just running around the cell aimlessly. I'm not sure what AI behavior it is exactly. But would still want them to help members of their own faction if one of them was attacked, so I can't change it to helps nobody. Link to comment Share on other sites More sharing options...
ObieDwyer Posted August 26, 2015 Share Posted August 26, 2015 Using the SetRestrained function in a script could get him to just say put. Link to comment Share on other sites More sharing options...
Ducksaws Posted August 26, 2015 Author Share Posted August 26, 2015 thanks, that sounds like a good idea. Link to comment Share on other sites More sharing options...
rickerhk Posted August 26, 2015 Share Posted August 26, 2015 Look at the flags on their AI package. Make sure 'observe combat' (or something to that effect) is unchecked. That flag kind of fakes a flee respose. Link to comment Share on other sites More sharing options...
Ducksaws Posted August 27, 2015 Author Share Posted August 27, 2015 (edited) th&undefined;nk∞ th&undefined;t w⌉⌊kÆd Edited August 27, 2015 by Ducksaws Link to comment Share on other sites More sharing options...
Recommended Posts