llAdjustDamage
void llAdjustDamage(integer Number, float Damage)Changes the amount of damage to be delivered by this damage event.
Parameters
-
Number(integer) - Damage event index to modify.
-
Damage(float) - New damage amount to apply on this event.
- Calling this function from any event handler other than
on_damageresults in an error message being shouted to the debug channel. - Requires the region to allow damage adjustment for the
on_damageevent to run. - Negative indexes are not supported.
- Indexes that are out of range will silently fail.
See Also
Section titled “See Also”- llDetectedDamage
on_damageevent