n1gamer Posted May 2, 2007 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
tk102 Posted May 2, 2007 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.