userBill Bcancel
branchrust_reboot/main/vehicles/PlayerHurtFixcancel

4 Commits over 0 Days - ∞cph!

4 Years Ago
Fix a couple of minor errors
4 Years Ago
Allow TriggerHurtNotChild to delay damage done. This is a fix attempt for drivers/passengers taking damage on vehicle exit.
4 Years 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.
4 Years 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.