Difference between revisions of "Final damage"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
|event_id=|event_delay|event=final_damage
|event_id=|event_delay|event=final_damage
|p1_type=integer|p1_name=num_detected|p1_desc=The number of damage events applied to the avatar or task.
|p1_type=integer|p1_name=num_detected|p1_desc=The number of damage events applied to the avatar or task.
|event_desc={{LSL Warnings/Combat2}}
|event_desc=This event is triggered 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.
This event is triggered 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.
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.

Latest revision as of 12:54, 8 August 2024

Description

Event: final_damage( integer num_detected ){ ; }

This event is triggered 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 final_damage( integer num_detected );