Difference between revisions of "PRIM HEALTH"
Jump to navigation
Jump to search
(Created page with "{{LSL Constant |name=PRIM_HEALTH |type=integer |value=52 |desc=Sets the health of the object. |caveats= * Does not make this object scannable as a DAMAGEABLE object. For t...") |
|||
Line 6: | Line 6: | ||
|caveats= | |caveats= | ||
* Does not make this object scannable as a [[DAMAGEABLE]] object. For that you will need to give add [[on_damage]] or [[final_damage]] events to the script on the object which will mark it as being able to process damage | * Does not make this object scannable as a [[DAMAGEABLE]] object. For that you will need to give add [[on_damage]] or [[final_damage]] events to the script on the object which will mark it as being able to process damage | ||
|constants= | |||
{{LSL DefineRow||[[OBJECT_HEALTH]]|}} | |||
|functions= | |functions= | ||
{{LSL DefineRow||[[llGetHealth]]|}} | {{LSL DefineRow||[[llGetHealth]]|}} |
Revision as of 17:26, 13 August 2024
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_HEALTH = 52;The integer constant PRIM_HEALTH has the value 52
Sets the health of the object.
Caveats
- Does not make this object scannable as a DAMAGEABLE object. For that you will need to give add on_damage or final_damage events to the script on the object which will mark it as being able to process damage
Related Articles
Constants
• | OBJECT_HEALTH |
Functions
• | llGetHealth | |||
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams | |||
• | llGetLinkPrimitiveParams |
Articles
• | Combat2 |