Combat script related to Questing and dialogue, need help.

Post » Tue Jan 01, 2013 9:41 pm

Ok, so I have created my own quest from scratch and everything is working perfectly.

I now want to add an additional dialogue that when the player selects this dialogue, the NPC will attack the player. (Similar to when a random thief approaches you and you select "I'd rather die". Then the thief will go into combat mode).

This is all I have and what I thought would work. I entered this into my quest stage for when the player selects the dialogue:


Alias_NPC.GetActorRef().AddtoFaction(pPlayerEnemyFaction)
Alias_NPC.GetActorRef().StartCombat(Game.GetPlayer))



I am getting an error when compiling. So I am guessing there is more that I need to add to this. I am just not sure what I need to add.

Anyone help pls.

Thank you.
User avatar
Chrissie Pillinger
 
Posts: 3464
Joined: Fri Jun 16, 2006 3:26 am

Return to V - Skyrim