Half-Life SDK Programming #2.1.1: Player use and TakeDamage

Опубликовано: 05 Май 2026
на канале: Admer456
6,224
227

Here we take a look at how to enable entities to be usable by the player (i.e. when E is pressed).

Timestamps:

00:00 - Introduction
00:57 - Setting the impulse use flag
01:27 - TakeDamage
02:43 - func_repairable entity
03:27 - Detecting the crowbar
03:58 - Homework
04:01 - Sparking depending on health
05:01 - Final adjustments and in-game test
05:21 - Conclusion, what's next