How to Master Get / Set and Register Objects (Avoid "Get All Actors"!)

Опубликовано: 30 Май 2026
на канале: Pending Kill
3,758
168

If you register objects (or as we call it, Master Get/Set), you can access another object without having to search for it. Typically you don't want to be using the Get All Actors with Tags as that will iterate over all the actors in the map, which can be very computationally expensive (Get All Actors with Classes is better, however). Instead, have your target object register themselves (on spawn, on overlap, or some other gameplay event) to somewhere you know how to get to easily. This can be your player character, player controller, game mode, game instance, and so on (in programming, these would be called singleton/multiton classes).

Come say hi!
Facebook:   / pendingkill  
Twitter:   / pending_kill  
Instagram:   / pending_kill  
TikTok:   / pendingkill  

00:00 Intro
00:35 Demo
01:25 Conceptual Explanation
02:41 Blueprints
04:46 Putting it All Together

Music:
Pacific - Vacation
Le Gang - I Don't Know Anything