Back to Browse

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

3.7K views
Dec 18, 2020
5:58

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: https://www.facebook.com/PendingKill/ Twitter: https://twitter.com/pending_kill Instagram: https://www.instagram.com/pending_kill/ TikTok: https://www.tiktok.com/@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

Download

1 formats

Video Formats

360pmp410.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

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