OBJECT HEALTH

From Second Life Wiki
Jump to navigation Jump to search

Description

Constant: integer OBJECT_HEALTH = 50;

The integer constant OBJECT_HEALTH has the value 50

Gets the health of the object.

This property can only be changed by a call to llSetPrimitiveParams or llSetLinkPrimitiveParams with PRIM_HEALTH. Damaging an object (with llDamage or collision by damage-enabled object) will not directly affect its health.

Caveats


Related Articles

Constants

•  PRIM_HEALTH

Functions

•  llGetObjectDetails
•  llGetHealth

Articles

•  Combat2

Deep Notes

Search JIRA for related Issues

Signature

integer OBJECT_HEALTH = 50;