llGetHealth

From Second Life Wiki
Revision as of 11:38, 26 February 2024 by Rider Linden (talk | contribs) (Created page with "{{LSL_Function |func_id=|func_sleep=0.0|func_energy=10.0 |func=llGetHealth|return_type=float |func_desc=Returns the current health of an avatar. |return_text |spec={{LSL Warni...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Function: float llGetHealth( );

Returns the current health of an avatar.
Returns a float

Specification

KBwarning.png Warning: This function or parameter is part of the Combat2 project and is only available on parts of the beta grid.

Returns the current health value for an avatar from a script running in an attachment.

Caveats

  • If this function is called from a script that is not attached to an avatar it returns 0.0
All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function float llGetHealth();