Jump to content

setInfectionLevel(x) doesn't work


Maris

Recommended Posts

character:getBodyDamage():setInf(true);
character:getBodyDamage():getBodyPart(BodyPartType['Head']):SetInfected(true)
character:getBodyDamage():setInfectionLevel(50); --doesn't work

I tried this code.

 

But infection level starts from zero and growing, ignoring setInfectionLevel() whenever I use it.

Edited by Maris
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...