"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
    llDamage
    to 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 (unless
    SIT_FLAG_NO_COLLIDE
    is also enabled).
  • "SIT_FLAG_DAMAGE_TO_SITTER": Damage from
    llDamage
    or 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.