shanon611 Posted August 22, 2020 Share Posted August 22, 2020 title pretty much says it all, does Begin ondeath work for knockouts (I have 2 npcs fighting with boxing gloves) Link to comment Share on other sites More sharing options...
UnvalidUserName Posted August 22, 2020 Share Posted August 22, 2020 (edited) No, OnDeath block only runs on the death of the scripted Actor. Edit: I recommend you use OnHit block and check for negative stamina or use GetKnockedState function Edited August 22, 2020 by UnvalidUserName Link to comment Share on other sites More sharing options...
shanon611 Posted August 22, 2020 Author Share Posted August 22, 2020 No, OnDeath block only runs on the death of the scripted Actor.So how would i check for when the npc goes unconscious? Link to comment Share on other sites More sharing options...
shanon611 Posted August 22, 2020 Author Share Posted August 22, 2020 (edited) i did some digging and i think i found somethingif UNVUnderdogboxer.GetKnockedState ==-1Not sure if it works yet but I will test it and then edit this message if it works EDIT: Getknockedstate works but just decided to have them fight to the death instead since it makes other things a lot easier to do and it still fits in with my mod very well. Edited August 22, 2020 by shanon611 Link to comment Share on other sites More sharing options...
Recommended Posts