SetSpawnHealth()

Mon May 03, 2021 8:23 am

Some mods like Triple M have the ability to adjust how much health monsters can have, but when using mods like Target Spy, that means they'll often show as having, say, 200% health instead of 100%. On top of that, some mods like D4D will make adjustments dynamically to the reward system based on how much health the monster may have when the player kills it.

This will greatly benefit all of those mods from the ability to adjust the spawn health.

Re: SetSpawnHealth()

Mon May 03, 2021 8:27 am

This sounds like a problem such HP bar mods need to fix themselves, it sounds like they are not properly reading the true maximum health of an actor.

Re: SetSpawnHealth()

Mon May 03, 2021 8:58 am

I'm pretty sure you can already do this by setting the "StartHealth" variable, so this is probably a DIY.

Re: SetSpawnHealth()

Mon May 03, 2021 11:17 am

Nevermind, I was under the assumption that Starthealth was set to something other than 0 by default... No wonder why multiplying with it didn't work. Made it feel like it was being overridden.