Jump to content

Getting a NPC to start combat after a conversation.


Recommended Posts

I'm trying to get a custom NPC to start combat after talking to him. It's only if you choose a conversation choice threatening him. Can someone please tell me how to do this. I would like it to be similar to insulting Caesar when you first meet him, causing him to attack.

Link to comment
Share on other sites

After the dialouge being said that will trigger the attack. On that dialouge put in the Result Script (End) box this:

 

(NPC's Base ID).setav aggression 1

 

Easy as that.

 

ON THE OTHER HAND; if you're asking how to make the dialouge as well, I'd suggest going to youtube for that.

Link to comment
Share on other sites

NPC Base ID.setAv is invalid. RefId.startCombat player is what you usually see. But I also use SetAv - on the ReFID, plus add the NPC to a 'PlayerEnemy' faction so the hate never 'fizzles out' :smile: Just Setting an actor aggression to 1 only works if the actor is already in an enemy (to the player) faction, and the aggression was 0, which *may* or may not allow you to enter dialog in the first place.

Link to comment
Share on other sites

NPC Base ID.setAv is invalid. RefId.startCombat player is what you usually see. But I also use SetAv - on the ReFID, plus add the NPC to a 'PlayerEnemy' faction so the hate never 'fizzles out' :smile: Just Setting an actor aggression to 1 only works if the actor is already in an enemy (to the player) faction, and the aggression was 0, which *may* or may not allow you to enter dialog in the first place.

 

Yeah, I'm fairly new to modding so I usually just use console commands for the scripting in GECK. lol

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...