Category:LSL Combat2
Revision as of 06:30, 11 May 2024 by Nexii Malthus (talk | contribs) (Flesh out the page a bit more, capturing a single sentence of each to provide an overview)
Help Portal: |
Avatar | Bug Fixes | Communication | Community | Glossary | Land & Sim | Multimedia | Navigation | Object | Video Tutorials | Viewer | Wiki | Misc |
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Linden Combat 2
Description
High Level Feature
Putting It All Togethe
There are two regions on the beta grid open and available for testing:
Functions:
- llAdjustDamage — Modifies the amount of damage that will be applied by the current on_damage event after it has completed processing.
- llDamage — Delivers damage to tasks and agent in the same region.
- llDetectedDamage — Returns a list containing pending damage information.
- llDetectedRezzer — Returns a key that is the UUID of the object or avatar that rezzed the detected object number.
- llGetHealth — Returns the current health of an avatar or object in the region.
Events:
- on_damage — Triggered when damage has been inflicted on an avatar or task in the world but before damage has been applied or distributed.
- final_damage — Triggered after after all on_damage events in all scripts and attachments have processed and damage has been applied to the avatar or distributed to all seated avatars.
- on_death — Triggered on all attachments worn by an avatar when that avatar's health reaches 0.
Additional:
- llGetEnv
- "allow_damage_adjust" — Are scripts allowed to adjust damage.
- "restrict_combat_log" — Are scripts allowed to write to the combat log.
- "restore_health" — Is health reset to 100% on death.
- "invulnerability_time" — Invulnerablitiy time applied after avatar death.
- "damage_throttle" — The maximum number of points of damage a single source may inflict on a target per second.
- "health_regen_rate" — The speed of health regeneration in hitpoints per second.
- "death_action" — Set the action to take when an avatar dies in the region.
- llGetObjectDetails
- OBJECT_HEALTH — Retrieves the health of an avatar or prim.
- OBJECT_DAMAGE — Retrieves the amount of damage a prim inflicts on collision.
- OBJECT_DAMAGE_TYPE — Retrieves the type of damage a prim inflicts on collision.
- llRezObjectWithParams
- REZ_DAMAGE — The amount of damage applied to an agent upon collision with this object.
- REZ_DAMAGE_TYPE — The damage type to apply when this prim collides with another object.
Pages in category "LSL Combat2"
The following 21 pages are in this category, out of 21 total.