Half-Life SDK Programming #2.4: Finding other entities

Опубликовано: 28 Март 2026
на канале: Admer456
3,334
139

Woo! I managed to upload this month after all.
So, here I talk a little bit about finding other entities by targetname, and very briefly cover string_t.
The audio quality is a bit worse than usual, but, it's a miracle I recorded it anyway.

Timestamps:
00:00 - Intro gag
00:27 - Introduction
00:40 - Finding entities by targetname
01:56 - One lil' caveat
03:03 - string_t
03:34 - Allocating strings with string_t
03:45 - Constant strings with string_t
03:50 - Obtaining a C string from a string_t
03:57 - func_exploder entity
05:00 - func_exploder in-game, conclusion
05:36 - Outro gag

I've noticed that certain comments are being deleted right after posting (perhaps not by their respective authors), so I'd advise you to ask for help with HL SDK on my Discord server and on TWHL.
Discord server:   / discord  
The Whole Half-Life: https://twhl.info/