xNVSE / NVSE

New Vegas Script Extender (NVSE)
https://git.io/JfSAo
712 stars 56 forks source link

Issues with GetObjectHealth #24

Open WillyDingus opened 3 years ago

WillyDingus commented 3 years ago

I was noticing some problems with my scripted-based overhaul, CFAO, when updating my xNVSE version to the latest version. I was having issues with some creature types having excessive amounts of health.

korri123 commented 3 years ago

I am not aware of any GetObjectHealth function

Demorome commented 3 years ago

Perhaps you meant SetObjectHealth? Or GetCurrentHealth?

WillyDingus commented 3 years ago

Oops, I meant SetObjectHealth. There is an issue with SetObjectHealth not changing the base health of a Creature or giving the creature a crazy amount of health. the function used to work before I updated to the latest version of xNVSE, JIP NVSE, and JN NVSE. My script adds all creatures into a formlist where then the creatures get actor effect and hitpoint changes.