Skip to content

PRIM_DAMAGE

constant
Constant
integer PRIM_DAMAGE = 51;
Set with llSetLinkPrimitiveParamsFast
PRIM_DAMAGE, float damage, integer damage_type
Get with llGetLinkPrimitiveParams, llGetPrimitiveParams
PRIM_DAMAGE → float damage, integer damage_type
  1. float damage
  2. integer damage_type// Values: DamageType

Prim parameter used to get or set the damage amount and damage type delivered by the prim on collision.

Other PrimParam values (42)
Other PrimParamGet values (40)

Sets the damage amount and damage type delivered by a prim on collision.

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.

From the Second Life Wiki

Community documentation adapted from PRIM DAMAGE, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.