Difference between revisions of "LlGetHealth"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 6: Line 6:
|return_text
|return_text
|spec=Returns the current health value for an avatar or object in the region.
|spec=Returns the current health value for an avatar or object in the region.
|caveats=
|examples
|helpers
|also_constants=
|also_constants=
{{LSL ConstRow|PRIM_HEALTH}}
{{LSL ConstRow|PRIM_HEALTH}}
Line 18: Line 15:
{{LSL DefineRow||[[LlGetPrimitiveParams]]|}}
{{LSL DefineRow||[[LlGetPrimitiveParams]]|}}
{{LSL DefineRow||[[LlGetLinkPrimitiveParams]]|}}
{{LSL DefineRow||[[LlGetLinkPrimitiveParams]]|}}
|also
|notes
|cat1=Combat2
|cat1=Combat2
|cat2=Script
|cat2=Script
}}
}}

Latest revision as of 17:25, 13 August 2024

Summary

Function: float llGetHealth( key id );
0.0 Forced Delay
10.0 Energy

Returns the current health of an avatar or object in the region.
Returns a float

• key id The ID of an agent or object in the region.

Specification

Returns the current health value for an avatar or object in the region.

Examples

Deep Notes

Signature

function float llGetHealth( key id );