llGetHealth

From Second Life Wiki
Jump to navigation Jump to search

Summary

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

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

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

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 or object in the region.

Examples

See Also

Constants

•  PUBLIC_CHANNEL

Functions

•  llGetObjectDetails
•  LlSetPrimitiveParams
•  LlSetPrimitiveParams

Deep Notes

Signature

function float llGetHealth( key agent_id );