LlAdjustDamage
Looking for the current API? Open the llAdjustDamage reference →
Wiki description
The llAdjustDamage modifies the amount of damage that will be applied by the current on_damage event after it has completed processing.
Specification
This function allows a script to modify incoming damage before it is applied to an avatar or distributed by a task.
Caveats
- Calling this function from any event handler other than on_damage results in an error message being shouted to the debug channel.
- Requires the region to allow damage adjustment for the on_damage event to run
- Negative indexes are not supported.
- Indexes that are out of range will silently fail.
See also: functions
See also: events
Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.