cdo947214 Posted March 27, 2021 Share Posted March 27, 2021 I want to create an essential enemy that when you get his health down to 0, instead of going unconscious, he automatically starts a conversation with you. How do I do this? Link to comment Share on other sites More sharing options...
dubiousintent Posted March 28, 2021 Share Posted March 28, 2021 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 More sharing options...
Recommended Posts