MasonDJar Posted April 19, 2023 Share Posted April 19, 2023 I am attempting to find out how long a character, once infected, has before they croak. The docs aren't telling me much, but at least I can get an idea of what methods I have access to. https://zomboid-javadoc.com/41.65/zombie/characters/BodyDamage/BodyDamage.html Here I can see the methodsĀ "isInfected" and "infectionMortalityDuration", I was looking at some other mods and it appears as though isInfected is the correct boolean to indicate if a user is infected, but I can't find anything about infectionMortalityDuration, am I correct in assuming this is how long that character has to live before he dies of the zombification? Could someone point me in the direction of where once infected the logic occurs that slowly kills you. I haven't written out any code yet, as I am trying to figure out which direction I need to go to accomplish my goals. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now