Getting all actors in a particular order
What is the "getting" method in UE4 of actors in a scene (either for copies of one blueprint, or multiple blueprints added)?
When, for example, I create three blueprints with the same interface that each hold one of three different meshes and name the blueprints in numerical order (BP_01, BP_02, and BP_03) and name the meshes in numerical order, I then use a Get All Actors With Interface node, and find that UE4 got them in a different order than they were named or created, such as BP_01, then BP_03, then BP_02.
Or in the case of multiple copies of one blueprint in a scene (eg. for BP_01; three copies named by UE4: BP_0101, BP_0102, and BP_0103) it would Get All Actors of Class in no particular order either.
Is there a way of getting them in order? When working with large numbers of blueprints it can be frustrating trying to perform any sequential actions. Or if anyone knew of a less time intensive workaround other than referencing each Actor in a variable, I would appreciate it.
asked Dec 30 '15 at 07:50 PM in Blueprint Scripting
No. You'll have to order the array yourself. Easy in c++... not so much in BP.
answered Dec 30 '15 at 08:04 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here