Dialog option turns actor into an enemy

Post » Thu Nov 19, 2015 6:52 pm

I have tried for hours to create an action that makes an actor into an aggressive enemy when a certain dialog is chosen. Any ideas?

User avatar
Jessie Rae Brouillette
 
Posts: 3469
Joined: Mon Dec 11, 2006 9:50 am

Post » Thu Nov 19, 2015 11:53 pm

StartCombat()?

I don't think it would make the NPC a permanent enemy (meaning they might accept a yield), but it should make them start combat with the player. Perhaps a combination of 'SetFactionRank()' and this would do the trick?

Something like...

Actor MyActor = akSpeakerMyActor.SetFactionRank(MyFaction,0 )MyActor.Startcombat( Game.GetPlayer() )

where 'MyFaction' is set to hate the PC?

User avatar
Mrs Pooh
 
Posts: 3340
Joined: Wed Oct 24, 2007 7:30 pm


Return to V - Skyrim