Jump to content

Dialogue after fight.


cdo947214

Recommended Posts

You have two issues here: dealing with the "unconscious" state, and starting the dialog. The latter is relatively easy: just set a condition "flag" on the "Topic" that only gets set in your script dealing with the "unconscious state", call "StopCombat" on the Actor and use "EVP" to cause it's packages to be re-evaluated.

Please check out the "Category:Actor State Functions". Off the top of my head: An Actor with a health of zero is normally "dead" unless they are marked as "essential" (which you dealt with). But a fatigue of zero will also make them unconscious. The note on GECKWiki for function "GetUnconscious" states:

This function does not detect actors who have been rendered unconscious from fatigue damage or from being essential and losing all their health. To detect these situations, use GetKnockedState intead.

Use "ResurrectActor" in either case to get them back on their feet and functional.

 

You might want to consider using "IsInCombat" and start your dialog when the actor's health drops below a certain percentage.

 

-Dubious-

Link to comment
Share on other sites

  • Recently Browsing   0 members

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