Jump to content

Dialogue interrupt combat.


clanky4

Recommended Posts

Is there anyway to have dialogue interrupt combat? I've attempted to use the dialogue package but it has the flag for "continues during combat" grayed out. The NPC will force dialogue with the player when out of combat but when the player is in combat, either with the NPC or someone else, they simply won't.

 

I'm assuming one way to accomplish this would be to have a script run StopCombat on the player. I'm not entirely sure that would work with hostile factions though.

 

Any help would be appreciated.

Link to comment
Share on other sites

Is there anyway to have dialogue interrupt combat?

Yes. During the Dog/God fight in the kitchen, when his hp reaches a certain number, he stops the fight to talk to you.

Link to comment
Share on other sites

  • 7 months later...

I know this post is old but google search brought it up and the dog/god fight is a scripting mess. I found a straightforward solution:

 

PlayerRef.StopCombatAlarmOnActor

 

That line will temporarily stop all combat against the player which will then allow an NPC to engage the player in dialogue.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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