Add damage type to object properties and ways to set it
complete
Thunder Rahja
At the moment, all damage from collisions with objects that have a damage property (set by
llSetDamage
or REZ_DAMAGE
via llRezObjectWithParams
) are limited to type 0, or DAMAGE_TYPE_GENERIC
. To support creative development, we need the ability to add typed damage to objects and not just rely on llDamage
for that. Adding new options like llSetDamageType( float damage, integer type );
and [ REZ_DAMAGE_TYPE, float damage, integer type ]
for llRezObjectWithParams
would fill this gap. I don't know if this is in Rider's plan already, but I thought I'd throw it on this board just in case.Log In
This post was marked as
complete
Rider Linden
in progress
Thunder Rahja
As of Combat2 2024-05-02.8929584012, there appears to be a new
REZ_DAMAGE_TYPE
parameter for llRezObjectWithParams
that sets the damage type of rezzed objects, and a PRIM_DAMAGE
parameter for llSetPrimitiveParams
and related functions that sets the damage amount and type for existing objects. I consider this issue resolved.