Force combat from dialogue?

Post » Tue Jun 19, 2012 10:41 am

I am trying to create a dialogue option that when selected makes the NPC go aggro. Basically the character asks a question, and then the guy thinks he knows to much and attacks. How do I do this?

(Unnecessary details)
Also, this guy is a member of a faction I made, and there are other members of this faction in the room with him. I want them to aggro when he does. Will this happen automatically when I hit him, or will I have to script that?
User avatar
Emily Graham
 
Posts: 3447
Joined: Sat Jul 22, 2006 11:34 am

Post » Tue Jun 19, 2012 7:21 am

Write in dialogue
AkSpeaker.StartCombat()
If it doesn't works write StartCombat()
User avatar
Madison Poo
 
Posts: 3414
Joined: Wed Oct 24, 2007 9:09 pm

Post » Tue Jun 19, 2012 9:27 pm

Write in dialogue
AkSpeaker.StartCombat()
If it doesn't works write StartCombat()

Thanks so much! I'm really glad this forum exists. I'm trying to piece together what I can, but for the most part I'm kind of floundering.
User avatar
Carlos Rojas
 
Posts: 3391
Joined: Thu Aug 16, 2007 11:19 am

Post » Tue Jun 19, 2012 12:19 pm

Thanks so much! I'm really glad this forum exists. I'm trying to piece together what I can, but for the most part I'm kind of floundering.
You are welcome :) i'm from Ukraine and by myself glad that this forum exist :D
User avatar
James Hate
 
Posts: 3531
Joined: Sun Jun 24, 2007 5:55 am

Post » Tue Jun 19, 2012 12:29 pm

Hmmm. I tried every syntactical combination of StartCombat I could get my hands on, including AkSpeaker.StartCombat(Game.GetPlayer()) and none of it will compile!
Basically what I am doing is typing your command (and other versions of it) into the End: box Papyrus Fragment thing and trying to compile. But it won't.
User avatar
Charleigh Anderson
 
Posts: 3398
Joined: Fri Feb 02, 2007 5:17 am

Post » Tue Jun 19, 2012 6:57 am

Do you know properties?
User avatar
Elizabeth Davis
 
Posts: 3406
Joined: Sat Aug 18, 2007 10:30 am

Post » Tue Jun 19, 2012 12:36 pm

Do you know properties?

No, what properties?
User avatar
Eileen Collinson
 
Posts: 3208
Joined: Thu Dec 28, 2006 2:42 am


Return to V - Skyrim