Final damage

From Second Life Wiki
Revision as of 09:59, 29 March 2024 by Rider Linden (talk | contribs) (Created page with "{{LSL_Event |event_id=|event_delay|event=on_damage |p1_type=integer|p1_name=num_detected|p1_desc=The number of damage events applied to the avatar or task. |event_desc={{LSL W...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Event: on_damage( integer num_detected ){ ; }
KBwarning.png Warning: This function or parameter is part of the Combat2 project and is only available on parts of the beta grid.

This event is 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.

All llDetected* functions that are normally available within a collision event are available while processing this event. Additionally the llDetectedDamage methods may be called while processing this event.

• integer num_detected The number of damage events applied to the avatar or task.

Caveats


Examples

See Also

Events

•  on_death
•  on_damage

Functions

•  llDetectedDamage

Deep Notes

Signature

event void on_damage( integer num_detected );