Skip to content

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_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.