(Plugins) is there any way to cancel a death or to suspend it?

I have some limited plugin experience, I have been poking around rocket player events but I don’t see any way to “cancel” a death like you can cancel siphoning gas. (onSiphonVehicleRequested has a ref bool “shouldAllow” that lets you cancel the siphoning). Is there a way to implement a sort of “downed” state without using Harmony?
(I am posting here because unturned plugin documentation and/or forums are very scarce)

You can still be alive while the HUD shows zero HP. Don’t know if there is a proper way to “suspend” death, but I know thats possible.

SOLVED: Using harmony, I applied a prefix patch on method “doDamage” from class “PlayerLife” that let me decide when to “kill” someone

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.