Jump to content

How to make two NPCs hostile


Skipper2100

Recommended Posts

Yet another day in the waking nightmare that is modding this game. I have a spell, that's cast by an NPC, that should make a target NPC hostile to it. Sounds easy, right? Well, I tried simply using "akCaster.StartCombat(akTarget)", which I would assume would do the trick, given that that's literally the only thing that function does, but lo an behold it did absolutely nothing. Ok, so maybe it's failing because the actors are on good terms, so let's try setting both of their relationship ranks to eachother to -4 and then starting combat. Also does nothing. Great to know that feature works. I could try putting them both in custom factions that are enemies of eachother, and yeah, that works, except now any actor set to Aggressive will attack on sight because their preexisting faction sees the custom one as neutral, so it's self-defeating.

 

Does anyone know what I need to do in order to get the StartCombat function to do the one thing it was designed to do?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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