n1gamer Posted May 2, 2007 Share Posted May 2, 2007 I was woundering how do i get an npc i created to attack me when a certain dialog line is choosen. Thanks n1gamer Link to comment Share on other sites More sharing options...
tk102 Posted May 2, 2007 Share Posted May 2, 2007 In the last dialog branch, attach a script that changes the faction of the creature. Something like this: void main() { ChangeToStandardFaction(OBJECT_SELF,1); // become an enemy ExecuteScript("k_ai_master",OBJECT_SELF,1002); //forces perception of you } Edit: updated this to invoke the call to k_ai_master Link to comment Share on other sites More sharing options...
n1gamer Posted May 3, 2007 Author Share Posted May 3, 2007 Thanks for the help tk102 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.