Jump to content

Actor is dead, cannot start combat.


Recommended Posts

Working on an autonomous murder function that works with any companion I'm having a 'mare with companion OnEnterBleedout which does something I cant trace so they will not restart combat, papyrus errorlog reports: Actor is dead, cannot start combat ... which just ain't true.

 

Sequence: Companion starts murder, takes a beating so health drops < 0 (typically to -10 or -20) and kicks "OnEnterBleedout", Player Stimpacks to kick "OnPlayerHealTeammate" where I cheat and instantly set health to 95% to get back into the fight.

 

At this point querying IsDead returns FALSE and pHealth is 95% but trying to StartCombat() gets the Actor is dead error and I cant find a way to continue the fight.

 

 

 

 

 

 

Link to comment
Share on other sites

Heh OK the easy ones are best ... companion refuses to StartCombat after OnEnterBleedout until their health is back to 100%.

 

"Actor is dead" must be a generic NO return as I had that with the ghost spawned NPCs outside of active UGrids a while back.

 

EDIT also needs a couple of seconds waiting after the health is applied: While akTeammate.IsBleedingOut()

Edited by SKK50
Link to comment
Share on other sites

  • Recently Browsing   0 members

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