Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by SpacemoGaming

You can make a variable called health and wire its current value output to the health managers current health input, then use a variable modifier to modify the health variable you made.

But it is a percentage i think so if the health variable is 0.50 then current health will be 50% of max health, for example max health is 100, health variable is 0.50, then current health will be 50.

An easy way to use this is to divide everything by 100 before you modify the health variable so 10 damage divided by 100 equals 0.10 use a signal manipulator in invert mode to change this to -0.10 then use a variable modifier to add that to the health variable, now you have subtracted 10 from current health.

Or you could just set damage to -0.10 but if you want to display damage stats it will display -0.10 damage, so its easier to divide because you can then use damage variable to write stats and it will display 10 damage

Oh dear! Your browser is either unsupported or there has been a problem loading the page.