Difference between revisions of "OBJECT HEALTH"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "{{LSL Constant |name=OBJECT_HEALTH |type=integer |value=50 |desc=Gets the health of the object. |constants= {{LSL DefineRow||PRIM_HEALTH|}} |functions= {{LSL DefineRow||...")
 
m (Health clarification)
 
Line 3: Line 3:
|type=integer
|type=integer
|value=50
|value=50
|desc=Gets the health of the object.
|desc=
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.
|constants=
|constants=
{{LSL DefineRow||[[PRIM_HEALTH]]|}}
{{LSL DefineRow||[[PRIM_HEALTH]]|}}

Latest revision as of 13:49, 6 November 2024

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;