Get All Actors Of Class Problem

This seems to get all the available existing point lights in the scene but not getting the point lights in the blueprint components. However, I only want to get the point lights in this particular blueprint, What should I change in the blue print event graph. I think I should change the “Get All Actors Of Class” to something else. Could anyone tell me how to get the point light components in the current blueprint components and give me a screenshot of the modified blueprint. Thanks so much!

Hello,

From what I can see, the name of your Blueprint is BP_LightSequence. So, you would go to “GET_ACTOR_OF_CLASS” and upon placing that node, you would search for your Blueprint in the drop-down queue.

Keep in mind that there are a few different actor retrieval nodes. “GET_ACTOR_OF_CLASS” and “GET_ALL_ACTORS_OF_CLASS” are not interchangeable.

If I use “Get_Actor_Of_Class”, how could I get the point light components in the blueprint and store them to the array I created?

My brain is tired. I forgot to mention that you can directly pull references of the lights you want directly into the Blueprint graph. What I showed above is if you are in a DIFFERENT Blueprint.


With regard to storing them in an array:

In V.1 I pulled the references individually and created an array from them.
In V.2 I pulled the reference of the parent component and extracted all children from it to build an array.