Skip to content
lsl.devlsl.devLSL Dev

Template:LSL Constants/Damage Types

Flag Description
DAMAGE_TYPE_IMPACT−1System damage generated by impact with terrain or a prim.
DAMAGE_TYPE_GENERIC0Generic or legacy damage.
DAMAGE_TYPE_ACID1Damage caused by a caustic substance, such as acid.
DAMAGE_TYPE_BLUDGEONING2Damage caused by a blunt object, such as a club.
DAMAGE_TYPE_COLD3Damage inflicted by exposure to extreme cold.
DAMAGE_TYPE_ELECTRIC4Damage caused by electricity.
DAMAGE_TYPE_FIRE5Damage inflicted by exposure to heat or flames.
DAMAGE_TYPE_FORCE6Damage inflicted by a great force or impact.
DAMAGE_TYPE_NECROTIC7Damage caused by a direct assault on life-force.
DAMAGE_TYPE_PIERCING8Damage caused by a piercing object such as a bullet, spear, or arrow.
DAMAGE_TYPE_POISON9Damage caused by poison.
DAMAGE_TYPE_PSYCHIC10Damage caused by a direct assault on the mind.
DAMAGE_TYPE_RADIANT11Damage caused by radiation or extreme light.
DAMAGE_TYPE_SLASHING12Damage caused by a slashing object such as a sword or axe.
DAMAGE_TYPE_SONIC13Damage caused by loud noises, like a Crash Worship concert.
DAMAGE_TYPE_EMOTIONAL14
Damage types are provided as a convenience and a suggestion. Scripters are free to add custom ones for their own combat systems or repurpose the damage type fields.
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.