Start Combat?

Post » Wed Jan 23, 2013 2:20 am

I am trying to make a quest with a dialogue option that will initiate an npc to have combat with the player. I thought it would be relatively simple, so I type in StartCombat(Game.GetPlayer()) in the end Script section of the Topic Info window. However when I try to compile this it says that Start Combat is not a function or does not exist. This is probably a very easy fix that I'm missing, but any help help would be appreciated. :D
User avatar
Jason Wolf
 
Posts: 3390
Joined: Sun Jun 17, 2007 7:30 am

Post » Wed Jan 23, 2013 3:32 am

You need to tell it who you are starting combat on. If it's the person who says the dialogue line, simple do:

akSpeaker.StartCombat(Game.GetPlayer())

If it's someone else you'll have to set up a property for them.
User avatar
Scott
 
Posts: 3385
Joined: Fri Nov 30, 2007 2:59 am

Post » Wed Jan 23, 2013 5:46 am

Oh, wow I knew it was a simple fix. Thanks!
User avatar
Frank Firefly
 
Posts: 3429
Joined: Sun Aug 19, 2007 9:34 am


Return to V - Skyrim