Difference between revisions of "LlGetHealth"

From Second Life Wiki
Jump to navigation Jump to search
Line 5: Line 5:
|func_desc=Returns the current health of an avatar or object in the region.
|func_desc=Returns the current health of an avatar or object in the region.
|return_text
|return_text
|spec=
|spec=Returns the current health value for an avatar or object in the region.
Returns the current health value for an avatar or object in the region.  
|caveats=
|caveats=
|examples
|examples
|helpers
|helpers
|also_constants=
|also_constants=
{{LSL ConstRow|PUBLIC_CHANNEL}}
{{LSL ConstRow|PRIM_HEALTH}}
{{LSL ConstRow|OBJECT_HEALTH}}
|also_functions=
|also_functions=
{{LSL DefineRow||[[llGetObjectDetails]]|}}
{{LSL DefineRow||[[llGetObjectDetails]]|}}
{{LSL DefineRow||[[LlSetPrimitiveParams]]|}}
{{LSL DefineRow||[[LlSetPrimitiveParams]]|}}
{{LSL DefineRow||[[LlSetPrimitiveParams]]|}}
{{LSL DefineRow||[[LlSetLinkPrimitiveParams]]|}}
{{LSL DefineRow||[[LlGetPrimitiveParams]]|}}
{{LSL DefineRow||[[LlGetLinkPrimitiveParams]]|}}
|also
|also
|notes
|notes
|cat1=Combat2
|cat1=Combat2
|cat2=Script
|cat2=Script
|cat3
|cat4
}}
}}

Revision as of 16:52, 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 );