Difference between revisions of "LlGetHealth"
Jump to navigation
Jump to search
Rider Linden (talk | contribs) |
Rider Linden (talk | contribs) |
||
Line 2: | Line 2: | ||
|func_id=|func_sleep=0.0|func_energy=10.0 | |func_id=|func_sleep=0.0|func_energy=10.0 | ||
|func=llGetHealth|return_type=float | |func=llGetHealth|return_type=float | ||
|p1_type=key|p1_subtype=handle|p1_name=agent_id|p1_desc=The ID of an agent in the region. | |p1_type=key|p1_subtype=handle|p1_name=agent_id|p1_desc=The ID of an agent or object in the region. | ||
|func_desc=Returns the current health of an avatar. | |func_desc=Returns the current health of an avatar or object in the region. | ||
|return_text | |return_text | ||
|spec={{LSL Warnings/Combat2}} | |spec={{LSL Warnings/Combat2}} | ||
Returns the current health value for an avatar in the region. | Returns the current health value for an avatar or object in the region. | ||
|caveats= | |caveats= | ||
|examples | |examples | ||
|helpers | |helpers | ||
|also_functions | |also_constants= | ||
{{LSL ConstRow|PUBLIC_CHANNEL}} | |||
|also_functions= | |||
{{LSL DefineRow||[[llGetObjectDetails]]|}} | |||
{{LSL DefineRow||[[LlSetPrimitiveParams]]|}} | |||
{{LSL DefineRow||[[LlSetPrimitiveParams]]|}} | |||
|also | |also | ||
|notes | |notes |
Revision as of 09:55, 1 May 2024
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: float llGetHealth( key agent_id );? | Function 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
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.
Caveats
Examples
See Also
Constants
• | PUBLIC_CHANNEL |
Functions
• | llGetObjectDetails | |||
• | LlSetPrimitiveParams | |||
• | LlSetPrimitiveParams |