userBill Bcancel
branchrust_reboot/main/vehicles/PlayerHurtFixcancel

4 Commits over 0 Days - ∞cph!

8 Months Ago
Fix a couple of minor errors
comment
8 Months Ago
Allow TriggerHurtNotChild to delay damage done. This is a fix attempt for drivers/passengers taking damage on vehicle exit.
comment
8 Months Ago
Added HasEntityInParents to BaseEntityEx with same behaviour type as GetComponentInParent. TriggerHurtNotChild now checks all parents, to handle e.g. player on flatbed on vehicle, and re-does that check each tick. This should stop players getting hit by hurt triggers when on flatbed.
comment
8 Months Ago
Add inside-vehicle damage trigger back, but with a new up direction check added. This will probably bring back to hurt on dismount (builds only), so branching for now.
comment