Damage passthrough and damage to sitter flags for llSetLinkSitFlags (Combat2 2024-04-11.8639309472)
Thunder Rahja
"SIT_FLAG_NO_DAMAGE" was suggested to stop passing damage from vehicle to the avatar seated on the specified link.
To complement the above, I propose additional flags to further modify damage distribution from object to sitters:
- "SIT_FLAG_DAMAGE_PASSTHROUGH": Allow llDamageto hit a sitter without intercepting/redistributing the incoming damage. This should also allow objects (with a damage property, e.g.llSetDamage) to damage the sitting avatar that they directly collide with (unlessSIT_FLAG_NO_COLLIDEis also enabled).
- "SIT_FLAG_DAMAGE_TO_SITTER": Damage from llDamageor collision with an object (with a damage property) to this specific link should be redirected to the avatar sitting on this link.
These two new flags should also stop
on_damage
and final_damage
from firing in the vehicle's root link for relevant damage, and not produce a CombatLog message for the object/vehicle since it would no longer be processed by the object.Log In