[combat2] PRIM_MAX_HEALTH prim property would be useful
tracked
Jessicatz Fairymeadow
Right now we have PRIM_HEALTH to track an object's hit points and it works nicely.
Now I want to track object hit points in a HUD external to the object and display with a health bar and show the values. For that I need to read the maximum health value of an object with PRIM_HEALTH, but I don't know the maximum health of it.
PRIM_MAX_HEALTH would make this easy.
Without it I'm using a workaround of assuming PRIM_HEALTH is already a percentage instead of an absolute value and trusting objects set their PRIM_HEALTH to said percentage instead of an absolute value, which works for now, but is not ideal.
Log In
Nexii Malthus
Was just about to open a new feedback about being able to define max health via PRIM_MAX_HEALTH.
Also llSetMaxHealth / llGetMaxHealth to match with the normal lSetHealth / llGetHealth, and OBJECT_MAX_HEALTH to match with OBJECT_HEALTH.
Spidey Linden
tracked
Issue tracked. We have no estimate when it may be implemented. Please see future updates here.