OBJECT_DAMAGE_TYPE
constant
Constant
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
Other ObjectDetailsParam values (55)
OBJECT_ACCOUNT_LEVEL41OBJECT_ANIMATED_COUNT39OBJECT_ANIMATED_SLOTS_AVAILABLE40OBJECT_ATTACHED_POINT19OBJECT_ATTACHED_SLOTS_AVAILABLE35OBJECT_BODY_SHAPE_TYPE26OBJECT_CHARACTER_TIME17OBJECT_CLICK_ACTION28OBJECT_CREATION_TIME36OBJECT_CREATOR8OBJECT_DAMAGE51OBJECT_DESC2OBJECT_GROUP7OBJECT_GROUP_TAG33OBJECT_HEALTH50OBJECT_HOVER_HEIGHT25OBJECT_LAST_OWNER_ID27OBJECT_LINK_NUMBER46OBJECT_LOCKED55OBJECT_MASS43OBJECT_MATERIAL42OBJECT_NAME1OBJECT_OMEGA29OBJECT_OWNER6OBJECT_PATHFINDING_TYPE20OBJECT_PERMS53OBJECT_PERMS_COMBINED54OBJECT_PHANTOM22OBJECT_PHYSICS21OBJECT_PHYSICS_COST16OBJECT_POS3OBJECT_PRIM_COUNT30OBJECT_PRIM_EQUIVALENCE13OBJECT_RENDER_WEIGHT24OBJECT_REZ_TIME45OBJECT_REZZER_KEY32OBJECT_ROOT18OBJECT_ROT4OBJECT_RUNNING_SCRIPT_COUNT9OBJECT_SCALE47OBJECT_SCRIPT_MEMORY11OBJECT_SCRIPT_TIME12OBJECT_SELECT_COUNT37OBJECT_SERVER_COST14OBJECT_SIT_COUNT38OBJECT_STREAMING_COST15OBJECT_TEMP_ATTACHED34OBJECT_TEMP_ON_REZ23OBJECT_TEXT44OBJECT_TEXT_ALPHA49OBJECT_TEXT_COLOR48OBJECT_TOTAL_INVENTORY_COUNT31OBJECT_TOTAL_SCRIPT_COUNT10OBJECT_VELOCITY5OBJECT_VOLUME_DETECT56
Gets the damage type that is applied when this prim collides with another object. Can match one of the DAMAGE_TYPE_* constants, be a custom damage type or be a repurposed damage field.
See also
Section titled “See also”Constants
Section titled “Constants”Functions
Section titled “Functions”Articles
Section titled “Articles”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.