# OBJECT_DAMAGE_TYPE

*LSL constant*

```lsl
integer OBJECT_DAMAGE_TYPE = 52;
```

Flag used with llGetObjectDetails to retrieve the type of damage a prim inflicts on collision. Returns an integer matching a DAMAGE_TYPE_* constant, a custom type, or a value repurposed by a combat system.

Constant groups: [ObjectDetailsParam](/constants/groups/ObjectDetailsParam/)

Gets the damage type that is applied when this prim collides with another object. Can match one of the [DAMAGE_TYPE\_\*](https://wiki.secondlife.com/wiki/Category:LSL_Combat2) constants, be a custom damage type or be a repurposed damage field.

## See also

### Constants

- [OBJECT_DAMAGE](/constants/OBJECT_DAMAGE/)
- [REZ_DAMAGE](/constants/REZ_DAMAGE/)
- [REZ_DAMAGE_TYPE](/constants/REZ_DAMAGE_TYPE/)
- [PRIM_DAMAGE](/constants/PRIM_DAMAGE/)

### Functions

- [llGetObjectDetails](/functions/llGetObjectDetails/)
- [llSetDamage](/functions/llSetDamage/)

### Articles

- [Combat2](https://wiki.secondlife.com/wiki/Category:LSL_Combat2)

---

*Source: [OBJECT DAMAGE TYPE](https://wiki.secondlife.com/wiki/OBJECT_DAMAGE_TYPE) on the Second Life Wiki. Content from the Second Life Wiki article OBJECT DAMAGE TYPE (revision 1217140, 2024-08-14), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/OBJECT_DAMAGE_TYPE/
